PDA

View Full Version : Y_Commands.


AfikAtashga
04/04/2014, 10:38 AM
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.

AfikAtashga
04/04/2014, 10:52 AM
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.

AfikAtashga
04/04/2014, 12:18 PM
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..

AfikAtashga
04/04/2014, 04:36 PM
NVM, Lock it UP!