dcmd to zcmd,I will +3Rep Urgent!
#5

This is very easy..

Rename the #include <dcmd> TO

Quote:

#include <zcmd>


Then, just replace all your commands to CMD:YourCommandhere(playerid,params[])

Example:

Код:
dcmd_heal(playerid, params[])
to

Quote:

CMD:heal(playerid, params[])

And remove the dcmd stuff under OnPlayerCommandText

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	dcmd(heal, 4, cmdtext);   // REMOVE THIS
	return 0;
}
Reply


Messages In This Thread
dcmd to zcmd,I will +3Rep Urgent! - by Mriss - 06.02.2014, 19:52
Re: dcmd to zcmd,I will +3Rep Urgent! - by Flake. - 06.02.2014, 19:56
Re: dcmd to zcmd,I will +3Rep Urgent! - by Mriss - 06.02.2014, 19:58
Re: dcmd to zcmd,I will +3Rep Urgent! - by LeGGGeNNdA - 06.02.2014, 20:00
Re: dcmd to zcmd,I will +3Rep Urgent! - by Hostskool - 06.02.2014, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)