23.12.2009, 08:42
WG40[playerid] = 1;
How can i make this for everyone on the server not just the person that types the command
How can i make this for everyone on the server not just the person that types the command
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)) WG40[i] = 1;
}
for(new i; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(playerid)) WG40[playerid] = 1, P30[playerid] = 1; }
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && i != playerid) WG40[i] = 1;
}
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(playerid)) WG40[playerid] = 1, P30[playerid] = 1;
}
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)) WG40[i] = 1, P30[i] = 1;
}