OnGameModeInit Error?
#2

"playerid" does not exist in OnGameModeInit. You can't reference a playerid because when OnGameModeInit executes, no players have connected. Instead, you can copy your 'RemoveBuildingForPlayer' code in to OnPlayerConnect.

Simply change the public line to:
pawn Код:
public OnGameModeInit()
Reply


Messages In This Thread
OnGameModeInit Error? - by NeymarJr - 09.06.2012, 10:40
Re: OnGameModeInit Error? - by Calgon - 09.06.2012, 10:42
Re: OnGameModeInit Error? - by FalconX - 09.06.2012, 10:44
Re: OnGameModeInit Error? - by NeymarJr - 09.06.2012, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)