TextDrawSetString problem (if helped +rep)
#1

Hey,so I after player dies,I want,that his irs textdraw will update.
Код:
stock UpdateIRS()
{
  new string[256];
  for(new i=0;i<MAX_PLAYERS;i++)
  {
	if(IRSupdate[i] == 1)
	{
	  format(string,sizeof(string),"%d IRS",IRS[i]);
	  TextDrawSetString(IRStextdraw,string);
	  TextDrawShowForPlayer(i,IRStextdraw);
	  IRSupdate[i]=0;
	}
  }
}
But,after player dies,all players textdraws changes to the last player's irs textdraw.Help.
Reply


Messages In This Thread
TextDrawSetString problem (if helped +rep) - by aqu - 18.01.2012, 18:53
Re: TextDrawSetString problem (if helped +rep) - by Infamous - 18.01.2012, 18:58
Re: TextDrawSetString problem (if helped +rep) - by aqu - 18.01.2012, 19:22
Re: TextDrawSetString problem (if helped +rep) - by aqu - 18.01.2012, 20:00
Re: TextDrawSetString problem (if helped +rep) - by TheBetaFox - 18.01.2012, 20:05

Forum Jump:


Users browsing this thread: 2 Guest(s)