ZCMD to YCMD
#7

you didn't read carefully ... I thought the problem is just at alias name...
YCMD autodedect the ZCMD tag and is converting automatali for ycmd
example
Код:
public OnGameModeInit()
{
	...
	Command_AddAltNamed("help", "h");
	...
	return 1;
}

...

YCMD:help(playerid, params[], help)
{
	...
	return 1;
}
is same as:
Код:
public OnGameModeInit()
{
	...
	Command_AddAltNamed("help", "h");
	...
	return 1;
}

...

CMD:help(playerid, params[])
{
	...
	return 1;
}
you will need to be careful with one think to remove this line "#inlude <zmcd>" and you will need to replace with this "#include <YSI\y_commands>"
in other world you just change the include and you're done
Reply


Messages In This Thread
ZCMD to YCMD - by benel1 - 25.08.2013, 20:11
Re: ZCMD to YCMD - by Cypress - 25.08.2013, 20:25
Re: ZCMD to YCMD - by Jessyy - 25.08.2013, 20:27
Re: ZCMD to YCMD - by benel1 - 25.08.2013, 20:32
Re: ZCMD to YCMD - by Cypress - 25.08.2013, 20:34
Re: ZCMD to YCMD - by benel1 - 25.08.2013, 20:53
Re: ZCMD to YCMD - by Jessyy - 25.08.2013, 21:02
Re: ZCMD to YCMD - by DanishHaq - 25.08.2013, 22:33

Forum Jump:


Users browsing this thread: 1 Guest(s)