Quote:
Originally Posted by Jefff
pawn Код:
forward GateTimer(playerid); public GateTimer(playerid) { if(!IsPlayerInRangeOfPoint(playerid, 7.0, 1415.2137,2773.7051,14.8135)) { SendClientMessage(playerid, COLOR_RED, "Spawn protection countdown has started. You have 10 seconds."); SetTimerEx("AntiSpawnkill",10000,0,"i",playerid); KillTimer(gatetimer[playerid]); } return 1; }
|
Thank you! I guess I have to learn more about looping! But can you tell me why does the first timer call GateTimer() twice now?