SA-MP Forums Archive
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: Help (/showthread.php?tid=222445)



Help - thimo - 07.02.2011

How to make something like if you do press CTRL near a vehicle it goes into the vehicle i know how to put him in but i dont have knowledge with IsPlayerInRange or the key things please someone thanks


Re: Help - alpha500delta - 07.02.2011

Why would you do that lol... GTA SA has the F key to enter a vehicle...
But I guess you coult try PlayerToPoint(?) or some kinda GetNearestVehicle function


Re: Help - thimo - 07.02.2011

Yes but i want a co-pilot for shamal and that stuff pls make a code i already said i dont know how to use them :S


Re: Help - Matej_ - 07.02.2011

https://sampwiki.blast.hk/wiki/GetPlayerKeys#Key_List

https://sampwiki.blast.hk/wiki/PutPlayerInVehicle