SA-MP Forums Archive
dcmd to zcmd,I will +3Rep Urgent! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dcmd to zcmd,I will +3Rep Urgent! (/showthread.php?tid=493052)



dcmd to zcmd,I will +3Rep Urgent! - Mriss - 06.02.2014

I need someone to translate this script to zcmd, pleeeeese! I will +3 Rep them, I also want all my classes to be there (: Im begging D::confuse d:
http://www.mediafire.com/?n379048wicj43vr


Re: dcmd to zcmd,I will +3Rep Urgent! - Flake. - 06.02.2014

You're asking us to script for you, this section is just to assist people, we're not going to script for you.


Re: dcmd to zcmd,I will +3Rep Urgent! - Mriss - 06.02.2014

And Mysql, But if your gonna do it mysql, Send me the link as zcmd first, and then work on mysql and send link


Re: dcmd to zcmd,I will +3Rep Urgent! - LeGGGeNNdA - 06.02.2014

Quote:
Originally Posted by Mriss
Посмотреть сообщение
And Mysql, But if your gonna do it mysql, Send me the link as zcmd first, and then work on mysql and send link
Nobody's doing it. If you're asking for helpers/scripters post here: https://sampforum.blast.hk/showthread.php?tid=447813&page=300


Re: dcmd to zcmd,I will +3Rep Urgent! - Hostskool - 06.02.2014

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;
}