Command Binding
#9

Quote:
Originally Posted by iLearner
Посмотреть сообщение
I don't see how is that hard, you can use one of keys provided by SA:MP as hotkey (Y, N, H and so on) and then send the cmd_COMMAND_NAME_HERE(playerid, GetNearestPlayerID(playerid));

Note: GetNearestPlayerID will most likely return an integer while zcmd requires second param to be string so you'll have to format the integer into a string and pass to the cmd.
He's talking about client sided command bindings.
Reply


Messages In This Thread
Command Binding - by george3002 - 19.02.2018, 19:55
Re: Command Binding - by NaS - 19.02.2018, 21:07
Re: Command Binding - by DannyW - 19.02.2018, 21:38
Re: Command Binding - by george3002 - 20.02.2018, 10:37
Re: Command Binding - by iKarim - 20.02.2018, 10:39
Re: Command Binding - by george3002 - 20.02.2018, 12:02
Re: Command Binding - by Zeth - 20.02.2018, 12:28
Re: Command Binding - by iLearner - 20.02.2018, 14:52
Re: Command Binding - by Zeth - 20.02.2018, 16:42
Re: Command Binding - by iLearner - 20.02.2018, 18:24
Re: Command Binding - by Kaperstone - 21.02.2018, 05:45
Re: Command Binding - by DannyW - 21.02.2018, 08:40
Re: Command Binding - by george3002 - 21.02.2018, 11:47
Re: Command Binding - by rfr - 21.02.2018, 11:57

Forum Jump:


Users browsing this thread: 2 Guest(s)