16.08.2012, 18:56
Where the hell are you putting it? Learn basic scripting before asking for help. You are putting it somewhere that playerid isn't specified. If you want the buildings to be removed when the player enters, or when the gamemode starts (impossible) just place that code under OnPlayerConnect.
pawn Код:
public OnGameModeInit()
{
//Wrong, no playerid parameter
public OnPlayerConnect(playerid) //Playerid parameter
{
//Correct