Compiling ERROR
#4

try removing this

PHP Code:
main() 
it will become

PHP Code:
return 1;
}

CMD:apa(playeridparams[]) return cmd_armypackage(playeridparams);

forward DropPackage(Float,Float:y,Float:z,objid);
public 
DropPackage(Float,Float:y,Float:z,objid)
{
DestroyDynamicObject(obj);
ArmyCrate[id] = CreateDynamicObject(964xyz-1.15000, -1, -1, -1200.00.0);
armylabel[id] = Create3DTextLabel("Army Crate Drop\nF to use"greyxyz40.000);
CrateDespawnTimer[id] = SetTimerEx("DespawnPackage"60*10000"i"id);
return 
1;
}

forward DespawnPackage(id);
public 
DespawnPackage(id)
{
DestroyDynamicObject(ArmyCrate[id]);
ArmyCrate[id] = -1;
crateexists[id] = false;
Delete3DTextLabel(armylabel[id]);
return 
1
if still not fixed please provide specific line of error.
Reply


Messages In This Thread
Compiling ERROR - by Polt - 16.06.2018, 08:59
Re: Compiling ERROR - by UFF - 16.06.2018, 11:16
Re: Compiling ERROR - by Polt - 16.06.2018, 11:40
Re: Compiling ERROR - by Shadow0707 - 16.06.2018, 12:42

Forum Jump:


Users browsing this thread: 1 Guest(s)