action when pressed an key
#1

I've tried a couple of things that didnt work..

How can I make a mission to start when pressing ' 2 ' on the keyboard ?

for example, you can type /mission for a mission to start, but when being in a vehicle the key 2 should be starting a driving mission.

best regards,

PKR
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)