28.12.2010, 07:44
Your timer for PortGates(playerid) has to be SetTimerEx("PortGates",TIMERVAL,REPEAT,"i",playeri d); because if you set a timer like this e.x
Only playerid 0 can work on this timer.
pawn Код:
public OnPlayerConnect(playerid)
{
SetTimer("Hai",1000,false); //1second
return 1;
}
forward Hai(playerid);
public Hai(playerid)
{
print("Hai!");
return 1;
} //Only playerid 0 can work on this timer.