Destroy object which is attached to vehicle.
#1

Hi,

Can i destroy a object which was created, and attached to vehicle?
Reply
#2

Yes, by destroying the object normally with DestroyObject (or DestroyDynamicObject for Incognito's streamer).

However, you need to store the object IDs to an array (2D array for vehicleid and objectid).
Reply
#3

I don't want to create a new thread, i want to ask, when i create a vehicle with AddStaticVehicle or CreateVehicle, callback OnVehicleSpawn get called?
Reply
#4

OnVehicleSpawn gets called when a vehicle that was created with CreateVehicle or AddStaticVehicleEx has respawned. AddStaticVehicle function doesn't have respawn delay.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)