cars dont respawn.
#1

when i DestroyVehicle(); how do i make them respawn or do i not use Destroy vehicle because its for my DMV script and i need the car to despawn when they exit the vehicle and respawn back at the start.
Reply
#2

Use
pawn Код:
SetVehicleToRespawn(vehicleid);
Then you using DestroyVehicle(vehicleid); you need create new vehicle with CreateVehicle(..) etc.
Reply
#3

o i see so onplayerexitvehicle i just respawn it not destroy it =P.

EDIT:

RespawnVehicle(); isnt there?
Reply
#4

Quote:
Originally Posted by slymatt
Посмотреть сообщение
o i see so onplayerexitvehicle i just respawn it not destroy it =P.

EDIT:

RespawnVehicle(); isnt there?
Mm what you mean "isnt there"

Edit:

Ups sorry correct native:
pawn Код:
SetVehicleToRespawn(vehicleid);
Reply
#5

Thats the right one haha thanks a lot =) happy its working now haha
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)