16.04.2014, 08:53
Hello, I have this code and I need change it to ZCMD. Can anyone help me to do that ?
pawn Код:
if(strcmp(cmd, "/admin", true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAY, "USAGE: /admin[msg]");
return 1;
}
else
{
format(string, sizeof(string), "AdmCmd: %s", tmp);
SendClientMessageToAdmins(COLOR_ADM_RED, string);
}
return 1;
}