28.05.2011, 09:05
Quote:
//=====================forwords forward DMTimer(playerid); //==============================[Others]======================================== new DMTime; new dmtimer; //================================================== ============================ public OnGameModeInit() { DMTime = 300; // change time that show in ur textdraw here i add 5 mints //=============================[Timers]========================================= dmtimer = SetTimer("DMTimer", 300, 1); return 1; } //================================================== ============================ public DMTimer() { DMTime --; new tmp[256]; format(tmp, sizeof tmp, "%s", TimeConvert(DMTime)); TextDrawSetString(Text:Time, tmp); TextDrawShowForAll(Text:Time); } return 1; } |