[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

pawn Код:
public OnPlayerConnect (playerid)
{
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;
}
Reply
#3

Quote:
Originally Posted by Namer
Посмотреть сообщение
pawn Код:
public OnPlayerConnect (playerid)
{
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;
}
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.
Reply
#4

its just warning !
is this warning in onplayerconnect ??
Reply
#5

weird, it's on CreateObject.. And that code is. Copy pasted from convertffs..
I think it should work fine now..
Reply
#6

pawn Код:
public OnPlayerConnect(playerid)
{
        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;
}
Compile now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)