20.08.2014, 02:13
Hello everyone,
I made this user friendly yet simple command so that players can shoot from the Helicopter.
I attached an object to it but now when I do spawn ALL vehicles then this object doesn't go OFF from the car/Helicopter.
I mean, How can I destroy this object ?
Already Tried doing some shits with " DestroyObject" !
I need a command which will REMOVE ALL the attached objects [ I mean these objects below] from ALL the vehicles
here's the code.
I made this user friendly yet simple command so that players can shoot from the Helicopter.
I attached an object to it but now when I do spawn ALL vehicles then this object doesn't go OFF from the car/Helicopter.
I mean, How can I destroy this object ?
Already Tried doing some shits with " DestroyObject" !
I need a command which will REMOVE ALL the attached objects [ I mean these objects below] from ALL the vehicles
here's the code.
Код:
CMD:helisupport(playerid, params[]) { new objecta = CreateObject(18756,0,0,-1000,0,0,0,100); AttachObjectToVehicle(objecta,GetPlayerVehicleID(playerid),0.525000,1.425000,-3.075001,-361.800292,91.799980,-268.379852); new objectb = CreateObject(18756,0,0,-1000,0,0,0,100); AttachObjectToVehicle(objectb, GetPlayerVehicleID(playerid), -2.625000,1.350000,-3.075001,-361.800292,91.799980,-268.379852); return 1; }