SA-MP Forums Archive
Wrong with map - 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: Wrong with map (/showthread.php?tid=438855)



Wrong with map - raamiix - 22.05.2013

I get error whith this map code

Код:
RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);
Код:
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23250) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23251) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23252) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23253) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: Wrong with map - Glad2BeHere - 22.05.2013

you need to put that under onplayerconnect .... im sure u put it under OnGamemodeInit right