Live Chat in rcon console?
#7

Quote:
Originally Posted by | Friped |
Ok look try this

Код:
public OnPlayerText(playerid, text[])
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
  new string2[128];
  new name[MAX_PLAYER_NAME+1];
  GetPlayerName(playerid, name, sizeof(name));
  format(string2, sizeof(string), "%s[%i]: %s",name,playerid,text);
  if(IsPlayerAdmin(i)){
  SendClientMessage(i,>color<,string2);} // change >color< to what color you want text to be :D
  //but here I need something to send it to the rcon console !?
 }
	return 0;
}
gives this errors:
Код:
C:\Users\ASD\Desktop\pawno\ASD.pwn(221) : error 017: undefined symbol "string"
C:\Users\ASD\Desktop\pawno\ASD.pwn(221) : error 029: invalid expression, assumed zero
C:\Users\ASD\Desktop\pawno\ASD.pwn(221) : warning 215: expression has no effect
C:\Users\ASD\Desktop\pawno\ASD.pwn(228) : error 010: invalid function or declaration
Reply


Messages In This Thread
Live Chat in rcon console? - by SEC - 05.04.2009, 19:58
Re: Live Chat in rcon console? - by Sandra18[NL] - 05.04.2009, 20:06
Re: Live Chat in rcon console? - by SEC - 05.04.2009, 20:09
Re: Live Chat in rcon console? - by SEC - 05.04.2009, 20:42
Re: Live Chat in rcon console? - by friped93 - 05.04.2009, 20:53
Re: Live Chat in rcon console? - by SEC - 05.04.2009, 20:56
Re: Live Chat in rcon console? - by XeoN_13 - 05.04.2009, 20:57
Re: Live Chat in rcon console? - by friped93 - 05.04.2009, 20:57
Re: Live Chat in rcon console? - by SEC - 05.04.2009, 20:59
Re: Live Chat in rcon console? - by XeoN_13 - 05.04.2009, 20:59

Forum Jump:


Users browsing this thread: 3 Guest(s)