SA-MP Forums Archive
I need help to add removebuilding?. - 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: I need help to add removebuilding?. (/showthread.php?tid=498864)



I need help to add removebuilding?. - JackieJ - 05.03.2014

When im adding RemoveBuildingForPlayer(playerid, 1261, 1680.2813, -1917.7891, 24.5469, 0.25);

I got errors like:
Код HTML:
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(16) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(161) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(162) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(163) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(164) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(165) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(166) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(167) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(168) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(169) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(170) : error 017: undefined symbol "playerid"
C:\Users\JACOLA03\Desktop\war thunder\gamemodes\warthunder.pwn(205) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase



Re: I need help to add removebuilding?. - XK - 05.03.2014

show me the lines ...161 and...the lines that gets errors


Re: I need help to add removebuilding?. - JackieJ - 05.03.2014

Uhmm...

I mean where in script can i add RemoveBuilding Objects?

Idk if thats the right but im trying to add removedbuilding objects under OnGameModeInit


Re: I need help to add removebuilding?. - Blademaster680 - 05.03.2014

Put it under OnPlayerConnect(playerid)


Re: I need help to add removebuilding?. - JackieJ - 05.03.2014

Dosen't works to put removed objects under OnPlayerConnect(playerid)