SA-MP Forums Archive
Local OOC - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Local OOC (/showthread.php?tid=111460)



Local OOC - TheNotorius - 02.12.2009

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


Re: Local OOC - TheNotorius - 02.12.2009

Ok Thank You Seif