Local OOC
#1

Hey all, ive tried making a local ooc where only people near you can hear it
can you please help me?? everytime i use it people in LS can hear me i only want it so people near meh can hear it
Thank you.

Here is Code:

Код:
    if(!strcmp(cmdtext, "/bo", true, 3)) //RP Usage :D
  {
    if(cmdtext[3] == 0) {
      SendClientMessage(playerid,0xFFFF00AA, "USAGE: /bo [text]");
      return 1;
    }
    new str[128];
    GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "((Local OOC %s: %s", str, cmdtext[4]);
    SendClientMessageToAll(0x46BBAA00, str);
    LimitGlobalChatRadius(20.0);
    return 1;
   }
Help would be appreciated, Thanks
Reply
#2

Ok Thank You Seif
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)