WG40[playerid] = 1; For everyone not only playerid?
#5

you need to replace every "playerid" with "i"

pawn Code:
for(new i; i<MAX_PLAYERS; i++)
{
   if(IsPlayerConnected(playerid)) WG40[playerid] = 1, P30[playerid] = 1;
}
to

pawn Code:
for(new i; i<MAX_PLAYERS; i++)
{
   if(IsPlayerConnected(i)) WG40[i] = 1, P30[i] = 1;
}
And use for pawn scripting.
Reply


Messages In This Thread
WG40[playerid] = 1; For everyone not only playerid? - by pawelf94 - 23.12.2009, 08:42
Re: WG40[playerid] = 1; For everyone not only playerid? - by CracK - 23.12.2009, 08:46
Re: WG40[playerid] = 1; For everyone not only playerid? - by pawelf94 - 23.12.2009, 15:26
Re: WG40[playerid] = 1; For everyone not only playerid? - by MadeMan - 23.12.2009, 15:30
Re: WG40[playerid] = 1; For everyone not only playerid? - by Dark_Kostas - 23.12.2009, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)