SA-MP Forums Archive
Message When entering a Vehicle - 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: Message When entering a Vehicle (/showthread.php?tid=396394)



Message When entering a Vehicle - goviscrap - 30.11.2012

Where in my script should I put my code to make it show up for players who entering a vehicle?


Re: Message When entering a Vehicle - B-Matt - 30.11.2012

Use OnPlayerEnterVehicle, https://sampwiki.blast.hk/wiki/OnPlayerEnterVehicle


Re: Message When entering a Vehicle - kaisersouse - 30.11.2012

If you want them to see it when they get in the vehicle and sit down, use OnPlayerStateChange

If you want them to see it when they open the door and START to enter the vehicle...use OnPlayerEnterVehicle (as noted above by B-Matt)


Re: Message When entering a Vehicle - goviscrap - 30.11.2012

Okay ill try that! thanks for the answers!