Possible?
#1

I understand players can achieve this by using a program such as Auto Hotkey however that's not entirely appropriate in this situation.

I have a command, lets use '/weaponshop' or '/w' for short. Given the nature of the sever weapons drop on death, I can see people having to type the word '/w' upon every single death very annoying. I am wanting a player to be able to push a certain key for example 'X' which would open up the dialog for the weapon shop or if possibly just assign that command to a letter.

Thanks in advance for the help.

(I have tried to search around but I cannot find the right way to context my search)
Reply
#2

You can use this to check when a key has been pressed;
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)