SA-MP Forums Archive
Y_Commands. - 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: Y_Commands. (/showthread.php?tid=504422)



Y_Commands. - AfikAtashga - 04.04.2014

Hey, i just started to learn about y_commands.
i built some commands, but in a system i got problem.
i want that when player put something in the dialog, it make it command.
In OnPlayerCommandText is make:
Код:
OnPlayerCommandText(playerid, inputtext);
but when i trying to make it on y_cmds it make an error.
Код:
function "S@@_OnPlayerCommandText" is not implemented
Thanks for helping.


Re: Y_Commands. - AfikAtashga - 04.04.2014

Quote:
Originally Posted by ******
Посмотреть сообщение
You should never call commands from inside your script, they are an external interface for players, not for coders. Instead just call your execution code directly.
I don't understand what you mean.
It's cannot be that i'll make player command by dialog? without Y_CMDS i could do this.


Re: Y_Commands. - AfikAtashga - 04.04.2014

Quote:
Originally Posted by ******
Посмотреть сообщение
You can do it with y_commands, and you could do it before. My point is that you shouldn't.
How can i make it? i received an error as you see..


Re: Y_Commands. - AfikAtashga - 04.04.2014

NVM, Lock it UP!