#include #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_RED 0xAA3333AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_BLUE 0x0000BBAA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_ORANGE 0xFF9900AA #define COLOR_PINK 0xFF66FFAA #define COLOR_DARKRED 0x660000AA #define LT 10000 #define SLOTS 28 #define GIVECASH_DELAY 5000 #define INACTIVE_PLAYER_ID 255 forward time(); //--------------this is what i mean by Top Of your Script public OnPlayerConnect(playerid) { time(); return 1; } public time(){ new Text:Clock; TextDrawDestroy(Clock); new hour,minute,second; gettime(hour,minute,second); new string[256]; if (minute <= 9){format(string,25,"%d:0%d",hour,minute);} else {format(string,25,"%d:%d",hour,minute);} TextDrawHideForAll(Clock); Clock=TextDrawCreate(552,28,string); TextDrawLetterSize(Clock,0.5,1.8); TextDrawFont(Clock,3); TextDrawBackgroundColor(Clock,40); TextDrawSetOutline(Clock,2); TextDrawShowForAll(Clock); SetTimer("time",30000,0); return 1; }