16.06.2016, 10:09
What is RunData[sRun][Runners][sP] ?
You can make a foreach loop with a player variable. For example, if Runners are those players who's participate to event make a variable like :
When the players enter in event, put
then, make your loop:
You can make a foreach loop with a player variable. For example, if Runners are those players who's participate to event make a variable like :
HTML Code:
new OnEvent[MAX_PLAYERS];
HTML Code:
OnEvent[playerid] = 1;
HTML Code:
foreach(Player, i) { if(OnEvent[i] == 1) { TogglePlayerControllable(i, 1); } }