[Help] Mapping Filterscript
#1

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.
Reply
#2

Post this here

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

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

With MTA you cant convert removed buildings.
Reply
#5

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
Reply
#6

pawn Код:
public OnPlayerConnect (playerid)
Reply
#7

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 -.-
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)