Non Static Vehicle
#1

Hi, i preparing dialog for vehicles
I using this fuction :
pawn Код:
CreateVehicle(581, X, Y, Z + 2.0, Angle + 90.0, c1, c2, 60);
After 1 minute, vehicle respawn at position, on I created this vehicle.
I want to create vehicle, but if it respawn, itґll delete.
How can I do this ?
Reply
#2

pawn Код:
public OnVehicleSpawn(vehicleid)
{
       DestroyVehicle(vehicleid);
       return 1;
}
Reply
#3

Thanks, but it destroy every cars (AddStaticVehicle too). I want to delete only vehicles spawned by player
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)