Can create a shortcut script?
#1

Can create a shortcut script?
For example:
F1 = / help
F2 = / commands
F3 = / repair
Or
1 = / weapons
2 = / stats
3 = / tele
4 = / afk
5 = / admins
Reply
#2

Through SA-MP server-sided scripting you cannot add custom keys to execute functions. You need to use the default GTA: San Andreas keys, which may also differ for each clients keymap.

You would make use of OnPlayerKeyStateChange to do this.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)