[AJUDA]CHAT
#6

Cara na verdade o que vocк quer fazer ? vocк quer deixar normal ?

pawn Код:
public OnPlayerText( playerid , text[] )
{
   if(text[0] == ';')
   {
       for(new i; i < MAX_PLAYERS; i++)
       {
            new Float:p[3];
            GetPlayerPos(playerid,p[0],p[1],p[2]);
            if(IsPlayerInRangeOfPoint(i, 20.0,p[0],p[1],p[2]))
            {
                new sStr[128];
                GetPlayerName(playerid,sStr,23);
                format(sStr,128,"%s (%i): %s",sStr,playerid,text[1]);
                SendClientMessage(i,-1,sStr);
                SetPlayerChatBubble(playerid,text[1],COLOR_WHITE,20,6000);
            }
       }
       return true;
   }
   new string[128];
   format(string,sizeof(string),"[ID:%d]:%s",playerid,text);
   SendPlayerMessageToAll(playerid,string);
   SetPlayerChatBubble(playerid,string,COLOR_WHITE,10 0,6000);
   return true;
}
Reply


Messages In This Thread
[AJUDA]CHAT - by ReDKiiL - 30.08.2011, 17:39
Re: [AJUDA]CHAT - by Vai_Besta - 30.08.2011, 17:43
Re: [AJUDA]CHAT - by JonathanFeitosa - 30.08.2011, 17:44
Respuesta: [AJUDA]CHAT - by ReDKiiL - 30.08.2011, 17:45
Re: [AJUDA]CHAT - by Vai_Besta - 30.08.2011, 17:47
Re: [AJUDA]CHAT - by JonathanFeitosa - 30.08.2011, 17:49
Respuesta: [AJUDA]CHAT - by ReDKiiL - 30.08.2011, 17:52
Re: [AJUDA]CHAT - by ViniBorn - 30.08.2011, 18:49
Respuesta: [AJUDA]CHAT - by ReDKiiL - 30.08.2011, 20:37
Re: [AJUDA]CHAT - by Shadoww5 - 30.08.2011, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)