register command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: register command (
/showthread.php?tid=523365)
register command -
babecka - 01.07.2014
PHP код:
if(strcmp(data, inputtext, false))
What do I put instead of inputtext when I'm not using dialogs but a command? How to check what the player did type?
Respuesta: register command -
SickAttack - 01.07.2014
If you are using zcmd or y_commands put "params" and if you are using OnPlayerCommandText then put "cmdtext".
Re: register command -
babecka - 01.07.2014
Thank you!