YCMD - 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 (
/showthread.php?tid=533761)
YCMD -
JeevanJyothish - 26.08.2014
Hello guys im scripting a new cmd with ycmd
how to script a new cmd with ycmd ?
and how ?
*____________*
Quote:
Originally Posted by Stinged
pawn Код:
CMD:command(playerid, params[]) { // Do whatever you want. return 1; }
or
pawn Код:
YCMD:command(playerid, params[], help) { // Do whatever you want. return 1; }
The second one has "help". Read the y_commands topic to know more about the help param.
And don't bump your topic after 2 minutes.. Read the forum rules.
|
Thanks
Re: YCMD -
JeevanJyothish - 26.08.2014
Anyone ? knows ?
Re: YCMD -
Dotayuri - 26.08.2014
Hope this helps you!
https://sampforum.blast.hk/showthread.php?tid=169029
Re: YCMD -
Stinged - 26.08.2014
pawn Код:
CMD:command(playerid, params[])
{
// Do whatever you want.
return 1;
}
or
pawn Код:
YCMD:command(playerid, params[], help)
{
// Do whatever you want.
return 1;
}
The second one has "help". Read the y_commands topic to know more about the help param.
And don't bump your topic after 2 minutes.. Read the forum rules.