27.12.2013, 10:02
pawn Код:
#include <a_samp>
stock LazerStatus(playerid) // this is a laser system
{
SetPVarInt(playerid, "laser", 0) return SetPVarInt(playerid, "laser", 1);
SetPVarInt(playerid, "color", GetPVarInt(playerid, "color"));
ApplyAnimation(playerid,"PYTHON","python_crouchreload",4.1,0,0,0,0,0,1); // animation while loading laser pointer
}
else if(SetPVarInt(playerid, "laser", 1)); return SetPVarInt(playerid, "laser", 0); //Line 10
}
return 1; //Line 12
}
pawn Код:
D:\SA-MP Server\pawno\new.pwn(10) : error 010: invalid function or declaration
D:\SA-MP Server\pawno\new.pwn(12) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.