Getting the Id of a vehicle that was just created?
#1

Okay, so I want to create an admin car system, /veh for example.
I'm using AddStaticVehicleEx to add the vehicle, according to the wiki (https://sampwiki.blast.hk/wiki/AddStaticVehicleEx)
It returns the vehicle ID, but how do I get that?
Something like..
pawn Код:
new vehicle;
vehicle = AddStaticVehicleEx...
Sorry if this is a really obvious question.
Thanks for any help given.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)