OnGameModeInit Error?
#4

Quote:
Originally Posted by Calgon
Посмотреть сообщение
"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()
Quote:
Originally Posted by FalconX
Посмотреть сообщение
there must be no playerid parameter in OnGameModeInit.

So it should be

pawn Код:
public OnGameModeInit( )
hope this helps

EDIT: lol Calgon you are faster

-FalconX
Thanks guys! I appreaciate the help!
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: 3 Guest(s)