15.07.2011, 14:01
Hello, well im making a RPG script(all from start)
I just need to add 3 more things to get the server up for Roleplay, and here is one of them things, I really need a OOC Disable command but I dont understand how to add it, maybe someone could help me?
OOC:
I just need to add 3 more things to get the server up for Roleplay, and here is one of them things, I really need a OOC Disable command but I dont understand how to add it, maybe someone could help me?
OOC:
Код:
// OOC
if(!strcmp(cmdtext, "/ooc", true,4)){
if(!strlen(cmdtext[4])) SendClientMessage(playerid, 0xffffffff, "USAGE: /ooc [text]");
else {
new tmp[192];
GetPlayerName(playerid,tmp,24);
format(tmp,192,"((OOC - %s: %s))",tmp,cmdtext[5]);
SendClientMessageToAll(0xFFFFFFAA,tmp);
print(tmp);
}
return 1;
}


