18.03.2013, 23:14
I have a script, and it's using both DCMD and ZCMD (which, doesn't work, ofc) . I cannot do CMD: about 1 million times... is there a converter program to do this for my script?
tmp = strtok(cmdtext,idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, LIGHTBLUE2, "Usage: /mute[PlayerID]");
SendClientMessage(playerid, orange, "Function: Mutes a player");
return 1;
}
target = ReturnUser(tmp);
CMD:mute(playerid, params[])
{
new target;
if(sscanf(params, "u", target)) return SendClientMessage(playerid, red, "Usage:/mute [ID]");
//do your cmd here
return 1;
}