Vehicle on spawn
#1

Hey people,

Is there a way to assign a car id to a spawned car, like if i add createvehicle to script and I want that car id to be id 32 is their any such way?

Like /gotocar 32, will be my car?
Reply
#2

Make a variable for it.

pawn Код:
new mycar;

mycar = CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
And code the rest.
Reply
#3

I mean if I spawn a car, instead of been ID 1/2 with no cars in game.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)