15.06.2015, 13:15
Quote:
Quote:
You probably did something silly like "new playerid". When OnGameModeInit is called there are no players connected hence you can't remove a building for a(ny) player at that point. |
If you have "new playerid;" in OnGameModeInit and used RemoveBuildingForPlayer here you won't get any errors but this won't work in-game.
This function simply have to be added under OnPlayerConnect.
BigGreen may added his code under OnGameModeInit callback and that's the reason for getting this error.