[PEDIDO] Chat igual de RPG
#7

PHP код:
public OnPlayerText(playerid,text[])
{
    new 
s[128],nome[24],p[3];
    
GetPlayerPos(playerid,p[0],p[1],p[2]);
    
GetPlayerName(playerid,nome,sizeof(nome));
    
format(s,sizeof(s),"%s {FFFFFF}(%d) diz: %s",nome,playerid,text);
    for(new 
0GetMaxPlayers(); != j; ++i) {
        if(
IsPlayerInRangeOfPoint(i,50.0,p[0],p[1],p[2])) {
            
SendClientMessage(i,GetPlayerColor(playerid),s)
        }    
    }
    return 
false;

Reply


Messages In This Thread
[PEDIDO] Chat igual de RPG - by [AF]Junior - 30.06.2011, 19:20
Re: [PEDIDO] Chat igual de RPG - by Shadoww5 - 30.06.2011, 19:55
Re: [PEDIDO] Chat igual de RPG - by Ricop522 - 30.06.2011, 20:10
Re: [PEDIDO] Chat igual de RPG - by [AF]Junior - 30.06.2011, 20:28
Re: [PEDIDO] Chat igual de RPG - by TheGarfield - 30.06.2011, 20:37
Re: [PEDIDO] Chat igual de RPG - by Sr.Pekeno - 01.07.2011, 00:17
Re: [PEDIDO] Chat igual de RPG - by RockFire - 01.07.2011, 00:25
Re: [PEDIDO] Chat igual de RPG - by [AF]Junior - 01.07.2011, 01:23
Re: [PEDIDO] Chat igual de RPG - by Falcon. - 01.07.2011, 01:26
Re: [PEDIDO] Chat igual de RPG - by crush_ - 01.07.2011, 01:30

Forum Jump:


Users browsing this thread: 1 Guest(s)