Help SendMessage TO X
#9

Quote:
Originally Posted by lonako45
View Post
Listen !!
now I fix the player ..
if player send message : PLAYER : XXXXXXX and he see that
but if the helper send message I see : Player : XXXXXXX
But the friend see : Helper : XXXX

Why I see Player XX
this is the code :
PHP Code:
if(PlayerChat[id] == 1)
  {
  
format(str,sizeof(str),"[HelperChat] Player %s[%d]: %s",GetName(playerid),playerid,text);
  
SendClientMessage(Helper,Orange,str);
  
format(str,sizeof(str),"[HelperChat] Player %s[%d]: %s",GetName(playerid),playerid,text);
  
SendClientMessage(Player,Orange,str);
  if(
HelperChat2[playerid] == 1)
  {
  
format(str,sizeof(str),"[HelperChat] Helper %s[%d]: %s",GetName(playerid),playerid,text);
  
SendClientMessage(Player,Orange,str);
  }
  return 
0;
  } 
HELP ?
Reply


Messages In This Thread
Help SendMessage TO X - by lonako45 - 05.06.2012, 14:44
Re: Help SendMessage TO X - by lonako45 - 06.06.2012, 05:47
Re: Help SendMessage TO X - by Firo - 06.06.2012, 06:48
Re: Help SendMessage TO X - by lonako45 - 06.06.2012, 11:17
Re: Help SendMessage TO X - by Sandiel - 06.06.2012, 12:09
Re: Help SendMessage TO X - by lonako45 - 07.06.2012, 10:52
Re: Help SendMessage TO X - by MadeMan - 07.06.2012, 11:01
Re: Help SendMessage TO X - by lonako45 - 07.06.2012, 11:23
Re: Help SendMessage TO X - by lonako45 - 08.06.2012, 12:27
Re: Help SendMessage TO X - by lonako45 - 13.06.2012, 11:03

Forum Jump:


Users browsing this thread: 2 Guest(s)