SA-MP Forums Archive
[Help] Mapping Filterscript - 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: [Help] Mapping Filterscript (/showthread.php?tid=509315)



[Help] Mapping Filterscript - GeasyW - 26.04.2014

I mapped something with MTA, and after i converted it.. I tired to make a mapping filterscript.
Sadly, RemoveBuildingForPlayer is giving me a Error (Warning) when i try to Compile it..
here's the warning that pops out..
pawn Код:
C:\Users\GeasyW/Desktop\MAPPINGS\MapForGeasy.pwn(14) : warning 217: loose indentation
C:\Users\GeasyW\Desktop\MAPPINGS\MapForGeasy.pwn(477) : error 017: undefined symbol "playerid"
C:\Users\GeasyW\Desktop\MAPPINGS\MapForGeasy.pwn(478) : error 017: undefined symbol "playerid"
C:\Users\GeasyW\Desktop\MAPPINGS\MapForGeasy.pwn(479) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
And here's the Pawno code (I put here only the RemoveBuildingForPlayer part, cos the CreateObject one is alright)
pawn Код:
public OnPlayerConnect ()
{
RemoveBuildingForPlayer(playerid, 4067, 1630.5234, -1486.8594, 17.1563, 0.25);
RemoveBuildingForPlayer(playerid, 4084, 1643.4297, -1520.3047, 14.3438, 0.25);
RemoveBuildingForPlayer(playerid, 4059, 1630.5234, -1486.8594, 17.1563, 0.25);
return 1;
}
I need this done ASAP.


Re: [Help] Mapping Filterscript - LeGGGeNNdA - 26.04.2014

Post this here

http://forum.sa-mp.com/forumdisplay.php?f=12


Re: [Help] Mapping Filterscript - GeasyW - 26.04.2014

Quote:
Originally Posted by LeGGGeNNdA
Посмотреть сообщение
Thanks, Posted there.
FLM vlla, shqiptar qenke


Re: [Help] Mapping Filterscript - GreenSt4lker - 26.04.2014

With MTA you cant convert removed buildings.


Re: [Help] Mapping Filterscript - GeasyW - 26.04.2014

Quote:
Originally Posted by GreenSt4lker
Посмотреть сообщение
With MTA you cant convert removed buildings.
I know, I used SA:MP Map Construction for that, and then merged the codes


Re: [Help] Mapping Filterscript - Dignity - 26.04.2014

pawn Код:
public OnPlayerConnect (playerid)



Re: [Help] Mapping Filterscript - GeasyW - 26.04.2014

Quote:
Originally Posted by Mionee
Посмотреть сообщение
pawn Код:
public OnPlayerConnect (playerid)
pawn Код:
C:\Users\GeasyW\Desktop\MAPPINGS\MapForGeasy.pwn(17) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
This showing up Now -.-


Re: [Help] Mapping Filterscript - Luis- - 26.04.2014

Just means your code is not indented properly, your code should work fine.