26.08.2010, 14:37
pawn Код:
SetTimer("pradekime",60*1000,0);
pawn Код:
public pradekime()
{
for(new i; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
SendClientMessage(i, COLOR_GREEN,"Skaiиiuojamas laikas..");
SetCameraBehindPlayer(i);
TogglePlayerControllable(i,0);
Motocountdown[i] = 6;
SetPlayerRaceCheckpoint(i,0,racecheckpoints[0][0],racecheckpoints[0][1],racecheckpoints[0][2],racecheckpoints[1][0],racecheckpoints[1][1],racecheckpoints[1][2],10);
DisablePlayerCheckpoint(i);
}
}