Adding map problem - 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: Adding map problem (
/showthread.php?tid=615039)
Adding map problem -
SoltutioN - 16.08.2016
I was making a map and I made it and when I want to input it, this error shows
Код:
(84) : error 017: undefined symbol "playerid"
Line 84:
Код:
RemoveBuildingForPlayer(playerid, 709, 2027.0859, -488.7813, 73.9766, 0.25);
I don't get this
Re: Adding map problem -
Konstantinos - 16.08.2016
RemoveBuildingForPlayer is not used in
OnGameModeInit/
OnFilterScriptInit because there is no
playerid parameter.
Use
OnPlayerConnect callback instead.
Re: Adding map problem -
SoltutioN - 16.08.2016
Ok, thanks for the respond now I learned something new, btw. I'm beginner scripter