foreach errors
#2

i get the feeling that you're doing this in OnGameModeInit:
RemoveBuildingForPlayer has no effect in OnGameModeInit.

Call it in OnPlayerConnect: foreach isn't needed.
pawn Код:
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid,3605,1497.85938,-674.82812,99.88281,31.681875228882);
    RemoveBuildingForPlayer(playerid,3604,1525.5,-691.69531,96.07813,11.981899261475);

    // Rest of code
    return 1;
}
Reply


Messages In This Thread
foreach errors - by Aerotactics - 18.02.2014, 01:54
Re: foreach errors - by Dubya - 18.02.2014, 02:00
Re: foreach errors - by Aerotactics - 18.02.2014, 02:02
Re: foreach errors - by Scenario - 18.02.2014, 02:28
Re: foreach errors - by Scaleta - 18.02.2014, 02:49

Forum Jump:


Users browsing this thread: 1 Guest(s)