Commands Ycmd
#1

how do I do that in YCMD?

Код:
if(!strcmp(cmdtext, "/NAMECOMMAND 0", true)||!strcmp(cmdtext, "/NAMECOMMAND 1", true))
Reply
#2

uh uh ?
Reply
#3

pawn Код:
YCMD:mycommand2(playerid, params[], help)
           return cmd_mycmd(playerid, params, help);
Im not sure if this works, but worth a try eh
Reply
#4

dont work D:
Reply
#5

emm help me please ?
Reply
#6

****** you have any ideas?
Reply
#7

Try
pawn Код:
Command_AddAltNamed(old[], altname[])
Reply
#8

I did not understand, make me an example with a full command please
Reply
#9

pawn Код:
YCMD:mycommand(playerid, params[], help)
{
     //code...
return 1;
}

Command_AddAltNamed("mycommand", "mycommand2");
Tell me if it work or not.
Reply
#10

where should I put it?

Код:
Command_AddAltNamed("mycommand", "mycommand2");
If I put under the command tells me that is already defined
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)