Roleplay chat... i must help
#1

How to do roleplay chat?... This is shows the message only to the play who sended the message... i want it will send to everyone in this range... (sorry for bad english)
PHP код:
public OnPlayerText(playeridtext[])
{
    
format(String,sizeof(String),"%s says: %s",GetName(playerid),text);
    
GetPlayerPos(playerid,X,Y,Z);
    if(
IsPlayerInRangeOfPoint(playerid13.0XYZ)){
    
SendClientMessage(playerid,-1,String);}else{return 0;}
    return 
0;

Reply


Messages In This Thread
Roleplay chat... i must help - by Lirbo - 17.04.2014, 23:10
Re: Roleplay chat... i must help - by DarkLored - 17.04.2014, 23:16
Re: Roleplay chat... i must help - by Lirbo - 17.04.2014, 23:50
Re: Roleplay chat... i must help - by DarkLored - 17.04.2014, 23:55
Re: Roleplay chat... i must help - by Lirbo - 17.04.2014, 23:59
Re: Roleplay chat... i must help - by DarkLored - 18.04.2014, 00:13
Re: Roleplay chat... i must help - by Lirbo - 18.04.2014, 00:21
Re: Roleplay chat... i must help - by DarkLored - 18.04.2014, 00:27
Re: Roleplay chat... i must help - by Lirbo - 18.04.2014, 00:47

Forum Jump:


Users browsing this thread: 1 Guest(s)