26.04.2014, 12:28
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..
And here's the Pawno code (I put here only the RemoveBuildingForPlayer part, cos the CreateObject one is alright)
I need this done ASAP.
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.
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;
}