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(playerid, 1806, 213.2891, 182.4219, 1002.0234, 0.25);
RemoveBuildingForPlayer(playerid, 2185, 213.7578, 181.7813, 1002.0156, 0.25);
RemoveBuildingForPlayer(playerid, 1722, 231.6172, 178.3594, 1002.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1722, 231.6172, 179.6719, 1002.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1722, 231.6172, 179.0234, 1002.0234, 0.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