SA-MP Forums Archive
[HELP] Call a YCMD 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: [HELP] Call a YCMD command?‎ (/showthread.php?tid=358727)



[HELP] Call a YCMD command?‎ - [IKS]Niko_Hs™ - 11.07.2012

Hi guys, How to call commands with YCMD (******) ?

Es with ZCMD :

Код:
CMD:hello(playerid, params[])
{
SendClientMessage(playerid,"Hello");
return 1;
}

// Call CMD

cmd_hello(playerid,"");
Thanks!


Re: [HELP] Call a YCMD command?‎ - SomebodyAndMe - 11.07.2012

YCMD or Y_CMD don't know sure tho.


Re: [HELP] Call a YCMD command?‎ - [IKS]Niko_Hs™ - 11.07.2012

You can not do with a # define?
Even for a single command

*Sorry my bad english..

EDIT: I want to call for a dialog


Re: [HELP] Call a YCMD command?‎ - [IKS]Niko_Hs™ - 11.07.2012

Ok, thanks.


Re: [HELP] Call a YCMD command?‎ - Jason` - 11.07.2012

Command_ReProcess?


Re: [HELP] Call a YCMD command?‎ - [IKS]Niko_Hs™ - 11.07.2012

Quote:
Originally Posted by Pedro_Miranda
Посмотреть сообщение
Command_ReProcess?
no, I had already tried does not work...


Re: [HELP] Call a YCMD command?‎ - s3rious - 17.02.2015

i wanna know if is possible to do something like this

CMD:cmd(playerid, params[])

and i wanna call this command if someone type /c or /cmd aswell


Re: [HELP] Call a YCMD command?‎ - Gammix - 19.02.2015

Delete post.


Re: [HELP] Call a YCMD command?‎ - amirab - 19.02.2015

maybe you can try by calling OnPlayerCommandText
i don't know yet because i don't use ycmd