13.12.2016, 07:46
Quote:
|
Код:
//abc is not an alternate command to xyz but has it's command function reassigned to that of xyz
CMD:xyz(cmdid, playerid, params[])
{
if(cmdid == cid_xyz) //directly using variables is faster than using GetCommandID
{
//player used /xyz
}
else if(cmdid == cid_abc) //cid_xyz and cid_abc are defined by SmartCMD
{
//player used /abc
}
return CMD_SUCCESS;
}
I will have to think about it.
Quote:
|
[*]Benchmark script is outdated (on first page) some functions are undefined[/LIST]
|
[QUOTE=Nero_3D;3811977][*]You should change the prefix and macro names, makes it impossible to test in one go
Do it like in ycmd, only add a compatibility macro while using your own namespace[/LIST]
I have no clue how YCMD works nor did I understand what you tried to say.
Will think about it.


