Help y_commands
#1

I have command
CMD:test(playerid, params[])
{
return cmd_tester(playerid, params[]
}

How to convert cmd_tester to y_commands?
Reply
#2

ycmd?
Reply
#3

yupp
Reply
#4

Bump
Reply
#5

Anyone ?
Reply
#6

pawn Код:
YCMD:cmdhere(playerid, params[], help)
Reply
#7

Make your tester command with YCMD first.
Код:
YCMD:test(playerid, params[], help)
{
    return ycmd_tester;
}
Reply
#8

Bro use zcmd.. more easier and faster..

cmd:test(playerid, parma[])

if u gonna use it.. just get the zcmd note in your include.
Reply
#9

Thanks !
Quote:
Originally Posted by ******
Посмотреть сообщение
ZCMD is slower than y_commands, and their syntax is identical so you can't really claim it is easier either.

Anyway:

pawn Код:
Command_AddAlt(YCMD:original, "newname"):
Reply
#10

I got problem Here
Quote:

Command_AddAlt(CMD:hhceck, "hhc");
Command_AddAlt(CMD:ac, "assigncar");
Command_AddAlt(CMD:low, "l");
Command_AddAlt(CMD:nchange, "namechanges");
Command_AddAlt(CMD:togfamily, "togfam");
Command_AddAlt(CMDhout, "s");
Command_AddAlt(CMD:tognewb, "tognewbie");
Command_AddAlt(CMD:trashreport, "tr");
Command_AddAlt(CMD:closereport, "cr");
Command_AddAlt(CMD:adminmessage, "am");
Command_AddAlt(CMDl, "showlicenses");
Command_AddAlt(CMD:ww, "wristwatch");
Command_AddAlt(CMD:acceptreport, "ar");
Command_AddAlt(CMD:reports, "activereports");
Command_AddAlt(CMD:chelp, "ch");
Command_AddAlt(CMD:ahelp, "ah");
Command_AddAlt(CMD:rr, "respawncars");
Command_AddAlt(CMD:text, "sms");
Command_AddAlt(CMD:hgate, "movegate");
Command_AddAlt(CMD:code2, "c2");
Command_AddAlt(CMD:amegaphone, "ameg");
Command_AddAlt(CMD:cb, "checkbelt");
Command_AddAlt(CMD:cmb, "checkmybelt");
Command_AddAlt(CMDb, "seatbelt");
Command_AddAlt(CMD:quitfamily, "quitgang");
Command_AddAlt(CMD:a, "admin");
Command_AddAlt(CMD:rs, "removesituation");
Command_AddAlt(CMD:uac, "unassigncar");
Command_AddAlt(CMD:cs, "createsituation");
Command_AddAlt(CMD:ha, "headadmin");

Quote:

D:\Raefaldhi Amartya\pawno\include\YSI\y_bintree.inc(37 : warning 219: local variable "right" shadows a variable at a preceding level
D:\Raefaldhi Amartya\pawno\include\YSI\y_bintree.inc(511) : warning 219: local variable "right" shadows a variable at a preceding level
E:\N-GamingRoleplay.pwn(2756 : error 025: function heading differs from prototype
E:\N-GamingRoleplay.pwn(2756 : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27569) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27570) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27571) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27572) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27573) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27574) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27575) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27576) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27577) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(2757 : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27579) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27580) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27581) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27582) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27583) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27584) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27585) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27586) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27587) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(2758 : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27589) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27590) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27591) : error 021: symbol already defined: "Command_AddAlt"
E:\N-GamingRoleplay.pwn(27592) : error 021: symbol already defined: "Command_AddAlt"

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)