how to get vehicle id?
#1

hey i was a bit confused actually i want to get the vehicles id and not the model id
i searched it on ****** ******* but no help there was help to get the vehicle id but no help with the vehicle id
any help please
Reply
#2

type /dl ingame and look at a car or you'll have to set the value that CreateVehicle returns into a variable and use that.
Reply
#3

Quote:
Originally Posted by Ranama
Посмотреть сообщение
type /dl ingame and look at a car or you'll have to set the value that CreateVehicle returns into a variable and use that.
You can use

pawn Код:
GetPlayerVehicleID( playerid );
It returns the current vehicle id of the vehicle he is currently in.

https://sampwiki.blast.hk/wiki/GetPlayerVehicleID
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)