22.05.2011, 18:47
Hello guys, i want to know how to make a kick command like this:
if (strcmp("/kick", cmdtext, true, 10) == 0)
new victim;
{
Kick (victim);
SendClientMessageToAll(playerid, COLOR_RED, "Text ^^");
}
return 1;
And then like /kick VICTIM
will kick (victim); i just want it in this, no DCMD or zcmd just in normal.
I realy dont know how to make it.
Please help, i searched ****** and all but only found dcmd...
if (strcmp("/kick", cmdtext, true, 10) == 0)
new victim;
{
Kick (victim);
SendClientMessageToAll(playerid, COLOR_RED, "Text ^^");
}
return 1;
And then like /kick VICTIM
will kick (victim); i just want it in this, no DCMD or zcmd just in normal.
I realy dont know how to make it.
Please help, i searched ****** and all but only found dcmd...