[HELP] How would I do it?
#1

I make a vehicle, like: createvehicle(model, x, y, z, color1, color2); sure?

And how would I do for, if a player gets in the car, and move it from vehicle's original position (X,Y,Z), it creates another vehicle(not respawn), same position, model, color1, color2, x, y, z?

[ty]
___________ good night
Reply
#2

pawn Код:
new PVehicle = CreateVehicle(Model, X, Y, Z, Colour1, Colour2);

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehicleid == PVehicle) CreateVehice(Model, X, Y, Z, Colour1, Colour2);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)