SA-MP Forums Archive
YCMD bug or what? - 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: YCMD bug or what? (/showthread.php?tid=375548)



YCMD bug or what? - Dragony92 - 07.09.2012

There is problem with some cmd names, for example, cmd "withdraw" doesnt work, it returns unsuccess message (unknow command), i try it in CMD (y_commands like zcmd) and YCMD, but i'm getting the same... But if i change command name to "bwithdraw" it works normal...
I have that bug with few commands, and it's the same, i just change the command name and it works...
I don't have, commands with same name, i'm not using FSs, and using lastest YSI...

The second problem is that the Altnames doesnt work, i tryed by id and by command name, i tryed to make command CMD: (y_cmd as zcmd) and YCMD:, but alt names doesnt work...
I put them in OnGameModeInit.... Example: Command_AddAltNamed("cuff", "cu");


Re: YCMD bug or what? - Dragony92 - 08.09.2012

BUMP


Re: YCMD bug or what? - Emmet_ - 08.09.2012

1) Show us some code.
2) If you have any other withdraw commands in the script, it will cause problems, so remove those commands.
3) If you are using zcmd and y_commands simultaneously, it will cause problems.


Re: YCMD bug or what? - Dragony92 - 08.09.2012

1) Code for what?
2) No i don't have...
3) I'm using only y_commands, because i don't need zcmd with ycmd inc..


Re: YCMD bug or what? - ThePhenix - 08.09.2012

Show the cmds that give you a problem.


Re: YCMD bug or what? - Dragony92 - 09.09.2012

Can you read whole first post?