Car locking help
#1

I have made this for my car dealership but i can't work out how can i lock the car as well.

here is the code
pawn Code:
new vehicle_id1, Text3D:vehicle3Dtext1;
    vehicle3Dtext1 = Create3DTextLabel("Blade For Sale | Price: $50000", COLOR_LIGHTBLUE, 0.0, 0.0, 0.0, 20.0, 0, 1);
    vehicle_id1 = AddStaticVehicleEx(536,2120.4929,-1133.8273,25.0410,299.3176,0,0,1);
    Attach3DTextLabelToVehicle(vehicle3Dtext1, vehicle_id1, 0.0, 0.0, 0.0);
Reply
#2

pawn Code:
new
   a,b,c,d,e,f,g;
GetVehicleParamsEx(vehicle_id1,a,b,c,d,e,f,g);
SetVehicleParamsEx(vehicle_id1,a,b,c,1,e,f,g);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)