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



MoveDynamicObject - Aleksabre - 18.11.2013

How do I make, when I'm in a car, when I press near the object H to horn, the object comes moving, if im on a foot, press F to do the same thing, how?


Re: MoveDynamicObject - Aleksabre - 18.11.2013

Can someone tell me?


Re: MoveDynamicObject - ikkentim - 18.11.2013

Please do NOT bump your topic within 24 hours! read the rules before posting!

The best place to start learning about interacting with keys is here:
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

You can detect whether a player is in a vehicle using:
https://sampwiki.blast.hk/wiki/IsPlayerInAnyVehicle