04.08.2015, 12:51
Hi I get this error then I compile my stuff
And this is the line.
Код:
C:\Users\Canip\Desktop\GRP\gamemodes\lsrpedit.pwn(25226) : error 036: empty statement C:\Users\Canip\Desktop\GRP\gamemodes\lsrpedit.pwn(35780) : warning 203: symbol is never used: "PoliceTrunk2" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
}
else if(PlayerInCar(playerid))
{
new vehicle = GetPlayerVehicleID(playerid);//From here
if(IsACopCar(vehicle));
if(IsACopCarSD(vehicle))//To here
{
if(slotid >= sizeof(PoliceTrunk)) return SCM(playerid, COLOR_GREY, "Invalid slot.");
new faction = PlayerInfo[playerid][pFaction];
if(faction != LSPD && SASD) return SCM(playerid, COLOR_LIGHTRED, "Invalid faction.");
if(!CopDuty{playerid}) return SCM(playerid, COLOR_LIGHTRED, "You must be on duty.");
format(msg, sizeof(msg), "grabs a %s from the Cruiser's trunk.", GetWeaponNameEx(PoliceTrunk[slotid][wepID]));
ActionMessage(playerid, 15.0, msg);
GiveWeapon(playerid, PoliceTrunk[slotid][wepID], PoliceTrunk[slotid][wepAmmo]);
}


