[HELP] How to add /tpm again?
#5

in a command or OnPlayerText with a check for a certain char
Код:
	
  new str[128],pName[MAX_PLAYER_NAME];
  GetPlayerName(playerid,pName,sizeof(pName));
  format(str,sizeof(str),"TeamMsg (%s): %s",pName,cmdtext/text);	
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
    if(gTeam[i] == gTeam[playerid])
    {
 	  SendClientMessage(i,COLOR,str);
    }
  }
Reply


Messages In This Thread
[HELP] How to add /tpm again? - by FreddeN - 02.11.2009, 16:01
Re: [HELP] How to add /tpm again? - by klavins - 02.11.2009, 16:24
Re: [HELP] How to add /tpm again? - by MachineHead - 02.11.2009, 16:27
Re: [HELP] How to add /tpm again? - by FreddeN - 02.11.2009, 17:03
Re: [HELP] How to add /tpm again? - by GTA967 - 02.11.2009, 17:26
Re: [HELP] How to add /tpm again? - by FreddeN - 02.11.2009, 19:29
Re: [HELP] How to add /tpm again? - by GTA967 - 02.11.2009, 19:33
Re: [HELP] How to add /tpm again? - by FreddeN - 02.11.2009, 19:40
Re: [HELP] How to add /tpm again? - by Correlli - 02.11.2009, 19:42
Re: [HELP] How to add /tpm again? - by FreddeN - 02.11.2009, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)