Tool: Convert from strcmp to zcmd?
#3

There is not any tool to convert strcmp to ZCMD , you have to change that by yourself and that dont take much time and its peaty easy , here you have example if you need it.

Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/kickme", cmdtext, true, 6) == 0)
	{
		Kick(playerid);
		return 1;
	}
	return 0;
}
Код:
#include <a_samp>
#include <ZCMD>

CMD:kickme(playerid, params[])
{
        Kick(playerid);
	return 1;
}
Reply


Messages In This Thread
Tool: Convert from strcmp to zcmd? - by blanic - 05.06.2016, 13:41
Re: Tool: Convert from strcmp to zcmd? - by IFilip - 05.06.2016, 13:46
Re: Tool: Convert from strcmp to zcmd? - by Rockefeller - 08.06.2016, 00:56

Forum Jump:


Users browsing this thread: 1 Guest(s)