20.07.2011, 09:04
PHP код:
new Timer[MAX_PLAYERS];
forward Tempo(playerid);
public OnPlayerConnect(playerid)
{
Timer[playerud] = SetTimerEx("Tempo", 1200000, true, "i", playerid);
return 1;
}
public OnPlayerDisconnect(playerid)
{
KillTimer(Timer[playerid]);
return 1;
}
public Tempo(playerid)
{
// funзoes
return 1;
}