16.06.2018, 12:42
try removing this
it will become
if still not fixed please provide specific line of error.
PHP Code:
main()
PHP Code:
return 1;
}
CMD:apa(playerid, params[]) return cmd_armypackage(playerid, params);
forward DropPackage(Float,Float:y,Float:z,obj, id);
public DropPackage(Float,Float:y,Float:z,obj, id)
{
DestroyDynamicObject(obj);
ArmyCrate[id] = CreateDynamicObject(964, x, y, z-1.15, 0, 0, 0, -1, -1, -1, 200.0, 0.0);
armylabel[id] = Create3DTextLabel("Army Crate Drop\nF to use", grey, x, y, z, 40.0, 0, 0);
CrateDespawnTimer[id] = SetTimerEx("DespawnPackage", 60*1000, 0, "i", id);
return 1;
}
forward DespawnPackage(id);
public DespawnPackage(id)
{
DestroyDynamicObject(ArmyCrate[id]);
ArmyCrate[id] = -1;
crateexists[id] = false;
Delete3DTextLabel(armylabel[id]);
return 1;