01.02.2013, 17:24
Quote:
So you know how to make a timer and which callback you want it in, what was wrong with just copying it there?
|
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp("/countdown", cmdtext, true, 10) == 0) { if (Count == 0) { SetTimer("Counting",1000,false); }else{ SendClientMessage(playerid, 0xFF0000FF,"There is a countdown already started!"); } new pName[24]; new str[128]; GetPlayerName(playerid, pName, 24); format(str, 128, "%s has started the countdown!", pName); SendClientMessageToAll(0xFF9900AA, str); return 1; } return 0;}
i dont want this in... i am making tdm gamemodes with a 5 min countdown. i dont need this ?
how do i just place a SetTimer