30.01.2015, 16:18
Something like:
If event=1,you can join but It isn't using PlayerInfo but it applies for all players XD
If event=1,you can join but It isn't using PlayerInfo but it applies for all players XD
new variable[MAX_PLAYERS];
variable[playerid] = 5;
CMD:turnon(playerid,params[])
{
for(new i=0; i < MAX_PLAYERS; i++)
{
ForAll[i]=1;
}
}
CMD:turnoff(playerid,params[])
{
for(new i=0; i < MAX_PLAYERS; i++)
{
ForAll[i]=0;
}
}
its Just Example hope it help you