Hello,
is there a way to remove cars? Like you want to spawn a second and the first one gets removed? Couldnt find somthing in the wiki about it. Maybe as an ASI or NET script client-sided?
Thanks in advance,
Slluxx
Hello,
is there a way to remove cars? Like you want to spawn a second and the first one gets removed? Couldnt find somthing in the wiki about it. Maybe as an ASI or NET script client-sided?
Thanks in advance,
Slluxx
I would also like to know this. I’m trying todo it in lua like this
local vehicle_current
vehicle_current = GetVehiclePedIsIn(PlayerPedId(), 0)
ClearPedTasksImmediately(PlayerPedId())
SetEntityAsMissionEntity(vehicle_current, 0, 1)
vehicle_current = DeleteVehicle()
This works in scripthook and r* scripts but doesnt in lua. Even trying ClearAreaOfVehicles doesnt work.
I’m not sure but someone said the DeleteVehicle thing doesn’t work right now.
Try DeleteEntity and parse you vehilce:
DeleteEntity(vehicle)
@Yashiku Not working.
@kanersps said in Help to create a Delete Vehicles script:
If you look at DeleteVehicle() you will see it doesn’t accept parameters currently. This is being worked on.