My questions here. (please have a look here, this will be updated frequently)
#23

EDIT:
Correct code!
Code:
public OnPlayerText(playerid, text[])
{
  new string[256];
  new playername[MAX_PLAYER_NAME];
  if(text[0] == '!' && text[1] != 0)
  {
    GetPlayerName( playerid, playername, MAX_PLAYER_NAME );
    format( string, 128, "[Team] %s: %s", playername, text[1] );
    for(new i = 0; i < MAX_PLAYERS; i++ )
    {
      if( IsPlayerConnected(i) && gTeam[playerid] == gTeam[i] )
        SendClientMessage( i, COLOR_TEAMCHAT, string );
    }
    return 0;
  }

  return 1;
}
This is working!

Reply


Messages In This Thread
My questions here. (please have a look here, this will be updated frequently) - by [dN]Eagle - 23.01.2010, 08:47
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 08:51
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 08:53
Re: Kill players when they are lower then "Z.Z" - by mansonh - 23.01.2010, 09:00
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 09:11
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 09:13
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 09:15
Re: Kill players when they are lower then "Z.Z" - by mansonh - 23.01.2010, 09:18
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 09:53
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 09:55
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 10:00
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 10:03
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 10:07
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 10:12
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 10:17
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 10:49
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 11:24
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 11:36
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 11:42
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 12:23
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 12:29
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 12:56
Re: Kill players when they are lower then "Z.Z" - by [dN]Eagle - 23.01.2010, 13:38
Re: Kill players when they are lower then "Z.Z" - by llama - 23.01.2010, 16:14
Re: I'll post my questions here (former topic : the kill players.... then "Z.Z") - by [dN]Eagle - 23.01.2010, 16:15

Forum Jump:


Users browsing this thread: 5 Guest(s)