SA-MP Forums Archive
OnGameModeInit Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnGameModeInit Help (/showthread.php?tid=390991)



OnGameModeInit Help - Alyster - 09.11.2012

I've just created an interior with SAMP Map Constrution and I've removed some items. Once I move the code to pawno, I'm unable to compile it because I get errors and I don't know how to fix them.

Here is my script if anyone is able to help:

PHP Code:
RemoveBuildingForPlayer(playerid1806213.2891182.42191002.02340.25);
RemoveBuildingForPlayer(playerid2185213.7578181.78131002.01560.25);
RemoveBuildingForPlayer(playerid1722231.6172178.35941002.02340.25);
RemoveBuildingForPlayer(playerid1722231.6172179.67191002.02340.25);
RemoveBuildingForPlayer(playerid1722231.6172179.02341002.02340.25); 
Here are the error messages I get:

Code:
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"



Re: OnGameModeInit Help - Glad2BeHere - 09.11.2012

put that under onplayerconnect


Re: OnGameModeInit Help - Alyster - 09.11.2012

Thank you