[Pedido] Chat Proximo.
#4

Code:
public OnPlayerText(playerid, text[])
{
     if(text[0] == '!')
     {
          new Float:Pos[3], Name[24], string[128];
          GetPlayerName(playerid, Name, sizeof(Name));
          GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
          format(string, sizeof(string), "%s Diz: %s", Name, text[1])
          for(new i = 0; i < MAX_PLAYERS; i++)
          {
               if(IsPlayerInRangeOfPoint(i, 50.0, Pos[0], Pos[1], Pos[2]))
               {
                     Msg(i, -1, string);
                }
           }
      }
      return 1;
}
Deu 2 erros, Linhas :

Code:
for(new i = 0; i < MAX_PLAYERS; i++)
Code:
 Msg(i, -1, string);
@ Edit
Eu queria um chat proximo mais sem tirar o chat global tambйm
Reply


Messages In This Thread
Chat Proximo. - by Supera - 10.09.2012, 15:57
Re: [PEDIDO]Chat Proximo. - by .FuneraL. - 10.09.2012, 16:01
Re: [PEDIDO]Chat Proximo. - by Douglas_prt - 10.09.2012, 16:03
Respuesta: [PEDIDO]Chat Proximo. - by Supera - 10.09.2012, 21:39
Re: [PEDIDO]Chat Proximo. - by Douglas_prt - 10.09.2012, 22:13
Respuesta: Re: [PEDIDO]Chat Proximo. - by Supera - 10.09.2012, 22:44
Re: Chat Proximo. - by AutoMatic2 - 11.03.2019, 23:22

Forum Jump:


Users browsing this thread: 1 Guest(s)