SA-MP Forums Archive
How would I do this? - 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: How would I do this? (/showthread.php?tid=70365)



How would I do this? - notec100 - 24.03.2009

I would like to have it so players can use the sub mission key to arrest other players if they are a cop, and if they are in a delivery truck to toggle those missions on and off. I believe it would have to be under OnPlayerKeyStateChange, but I am not sure how to do that, so I ask for some help maybe an example. Thanks in advance!