SA-MP Forums Archive
RC Vehicles Enter - 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)
+--- Thread: RC Vehicles Enter (/showthread.php?tid=654080)



RC Vehicles Enter - xRadical3 - 20.05.2018

Is there any way to ride these vehicles like other vehicles with the F key?
PHP код:
464
564
501 



Re: RC Vehicles Enter - AmigaBlizzard - 20.05.2018

You can use OnPlayerKeyStateChange to detect the F key.
Then, check if a RC vehicle is near your location without a driver yet, and if so, use PutPlayerInVehicle to enter it.


Re: RC Vehicles Enter - Sew_Sumi - 20.05.2018

An 8 year old tutorial pops up when you actually search "RC Enter Vehicle SAMP"...

https://sampforum.blast.hk/showthread.php?tid=158074