/cuff etc
#1

How would i go about making my /cuff, /ar ,/tk /detain commands work using the MMB button or command? as well most people prefer it to be an button instead of an command and vice versa
Reply
#2

You'd use OnPlayerKeyStateChange. When they press a KEY, then add your code.

Here's the key list: https://sampwiki.blast.hk/wiki/Keys
And here's the wiki for OnPlayerKeyStateChange: https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

If you read through the wiki, it'll tell you exactly how to do it.
Reply
#3

ok thanks +rep
Reply
#4

Quote:
Originally Posted by Thoma
Посмотреть сообщение
ok thanks +rep
Appreciate it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)