02.11.2013, 13:24
You put this code under OnGameModeInit, didn't you? Well it doesn't have "playerid" as a parameter.
So move those RemoveBuildingForPlayer lines under OnPlayerConnect or other callback which has "playerid" as its parameter
So move those RemoveBuildingForPlayer lines under OnPlayerConnect or other callback which has "playerid" as its parameter