SA-MP Forums Archive
PUT PLAYER IN VEHICLE PLZ HELP<<<<<<<<<<<<< - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PUT PLAYER IN VEHICLE PLZ HELP<<<<<<<<<<<<< (/showthread.php?tid=268436)



PUT PLAYER IN VEHICLE PLZ HELP<<<<<<<<<<<<< - Honest_Player - 12.07.2011

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


Re: PUT PLAYER IN VEHICLE PLZ HELP<<<<<<<<<<<<< - PhoenixB - 12.07.2011

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


Re: PUT PLAYER IN VEHICLE PLZ HELP<<<<<<<<<<<<< - alpha500delta - 12.07.2011

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