23.05.2009, 13:26
As the title says, how can I trun this /ooc into /local ?
Код:
if(!strcmp(cmdtext, "/ooc", true, 3))
{
new str[256], pname[256];
GetPlayerName(playerid, pname, 256);
format(str, 256, "(( Ooc: %s:%s ))", pname, cmdtext[4]);
SendClientMessageToAll(0xFFFFFFAA, str);
return 1;
}
}


)" it would say this when you just type /occ "USAGE: /ooc [message]". So here you go and have fun with it!