TextDraw Update
#3

Now it will be refresh every update for every player
pawn Код:
public UpdateTeamCash()
{
   new string1[60];
   new string2[60];
   format(string1, sizeof(string1), "Team 1 Cash: %s", T1Cash);
   format(string2, sizeof(string2), "Team 2 Cash: %s", T2Cash);
   for(new i; i<MAX_PLAYERS; i++)
   {
      TextDrawHideForPlayer(i, Textdraw0);
      TextDrawHideForPlayer(i, Textdraw1);
      TextDrawSetString(Textdraw0,string1);
      TextDrawSetString(Textdraw1,string2);
      TextDrawShowForPlayer(i, Textdraw0);
      TextDrawShowForPlayer(i, Textdraw1);
   }
   return 1;
}
Edit: There was already a reply ^^
Reply


Messages In This Thread
TextDraw Update - by RichyB - 08.07.2010, 13:44
Re: TextDraw Update - by Carlton - 08.07.2010, 13:47
Re: TextDraw Update - by CAR - 08.07.2010, 13:49
Re: TextDraw Update - by Carlton - 08.07.2010, 13:51
Re: TextDraw Update - by CAR - 08.07.2010, 13:52
Re: TextDraw Update - by RichyB - 08.07.2010, 13:59
Re: TextDraw Update - by CAR - 08.07.2010, 14:01
Re: TextDraw Update - by RichyB - 08.07.2010, 14:04

Forum Jump:


Users browsing this thread: 2 Guest(s)