PUT PLAYER IN VEHICLE PLZ HELP<<<<<<<<<<<<<
#1

hell all here is my vehicles
pawn Код:
AddStaticVehicle(500,1725.2408, 286.7329, 18.1907, 261.2665, 28, 119);
    AddStaticVehicle(500,1725.2408, 283.9491, 18.0962, 261.5028, 28, 119);
    AddStaticVehicle(500,1725.2408, 281.0444, 18.0963, 261.51, 28, 119);
    AddStaticVehicle(500,1725.2408, 278.1362, 18.0904, 261.5028, 28, 119);
    AddStaticVehicle(500,1725.2408, 275.6874, 18.0907, 261.5039, 28, 119);
    AddStaticVehicle(500,1725.2408, 272.6989, 18.09, 261.5024, 28, 119);
    AddStaticVehicle(500,1725.2408, 267.1801, 18.096, 261.5053, 28, 119);
    AddStaticVehicle(500,1725.2408, 264.4619, 18.0935, 261.5025, 28, 119);
    AddStaticVehicle(500,1725.2408, 261.7412, 18.0939, 261.5158, 28, 119);
    AddStaticVehicle(500,1725.2408, 258.4194, 18.0809, 261.4996, 28, 119);
    AddStaticVehicle(500,1725.2408, 255.8184, 18.169, 261.4974, 28, 119);
    AddStaticVehicle(500,1719.0795, 286.7329, 18.1907, 261.2665, 28, 119);
    AddStaticVehicle(500,1719.0795, 283.9491, 18.0962, 261.5028, 28, 119);
    AddStaticVehicle(500,1719.0795, 281.0444, 18.0963, 261.51 , 28, 119);
    AddStaticVehicle(500,1719.0795, 278.1362, 18.0904, 261.5028, 28, 119);
    AddStaticVehicle(500,1719.0795, 275.6874, 18.0907, 261.5039, 28, 119);
    AddStaticVehicle(500,1719.0795, 272.6989, 18.09, 261.5024, 28, 119);
    AddStaticVehicle(500,1719.0795, 269.8685, 18.0909, 261.4964, 28, 119);
    AddStaticVehicle(500,1719.0795, 267.1801, 18.096, 261.5053, 28, 119);
    AddStaticVehicle(500,1719.0795, 264.4619, 18.0935, 261.5025, 28, 119);
    AddStaticVehicle(500,1719.0795, 261.7412, 18.0939, 261.5158, 28, 119);
andplz tell me how i put player only in these cars plz help me
Reply
#2

Are you trying to make it so that they are the only vehicles driveable by all of the players?
Reply
#3

pawn Код:
new Veh[50];//Top of script
Veh[0] = AddStaticVehicle(500,1725.2408, 286.7329, 18.1907, 261.2665, 28, 119);//continue like this till the last one)
Then you use this at the place you want the player to spawn inside the vehicle:

pawn Код:
PutPlayerInVehicle(playerid, Veh[X], 0);//replace X with the Veh number
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)