RP chat
#8

PHP код:
public onPlayerText(playeridtext[])
{
    new 
Float:X,Y,Z;
    
GetPlayerPos(playerid,X,Y,Z);
    new 
message[128];
    
format(messagesizeof(message), "%s says: %s"GetName(playerid), text);
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerInRangeOfPoint(i,30,X,Y,Z);
        
SendClientMessage(i,-1,message);
    }
    return 
0;

Reply


Messages In This Thread
RP chat - by BryanD - 11.06.2014, 16:11
Re: RP chat - by Dignity - 11.06.2014, 16:12
Re: RP chat - by K9IsGodly - 11.06.2014, 16:31
Re: RP chat - by TheCoopster - 11.06.2014, 17:22
Re: RP chat - by amirab - 11.06.2014, 18:38
Re: RP chat - by BryanD - 11.06.2014, 20:56
Re: RP chat - by BryanD - 12.06.2014, 14:13
AW: RP chat - by BiosMarcel - 12.06.2014, 14:30
Re: RP chat - by xXcaliberXx - 12.06.2014, 14:54
Re: RP chat - by Adityz - 12.06.2014, 15:03

Forum Jump:


Users browsing this thread: 2 Guest(s)