03.04.2015, 16:17
Did you even try compiling that?
"playerid" is defined already, and you're using "i" in the functions.
The loop shouldn't be the problem.
EDIT:
Try using SetPlayerTime.
"playerid" is defined already, and you're using "i" in the functions.
The loop shouldn't be the problem.
EDIT:
Try using SetPlayerTime.
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayerPlaySound(i,1057,0.0,0.0,0.0);
SetPlayerTime(i, var, 0);
}
}


