Vehicle ID
#1

Hey,

How do i get the id of a vehicle that a player is not sitting in? so like i want to set a variable to the id of a car when my cmd is used to spawn a car but i dont know how to get the id. I dont want to put the player in the vehicle to get the id. Please Help
Reply
#2

When spawning the vehicle with CreateVehicle

pawn Код:
new vehicleid = CreateVehicle(...
then 'vehicleid' will have the ID.
Reply
#3

Oh ok, thank you very much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)