Textdraw score
#3

Quote:
Originally Posted by [HiC
TheKiller [Stuntp.com] ]
Make the textdraw then use https://sampwiki.blast.hk/wiki/TextDrawSetString. In example

pawn Код:
public OnGameModeInit()
{
  SetTimer("Update", 5000, true);
  return 1;
}
forward Update();
public Update()
{
  for(new i; i<MAX_PLAYERS; i++)
  {
    if(!IsPlayerConnected(i)) continue;
    TextDrawSetString(/*Your textdraw here*/, GetPlayerScore(i));
  }
}
Thanks, So this will show the players score on there screens in textdraws. And when it goes up the score goes up.?
Reply


Messages In This Thread
Textdraw score - by Jay. - 10.05.2010, 18:55
Re: Textdraw score - by [HiC]TheKiller - 10.05.2010, 19:29
Re: Textdraw score - by Jay. - 10.05.2010, 19:33
Re: Textdraw score - by nejc001 - 10.10.2010, 10:38
Re: Textdraw score - by WillyP - 10.10.2010, 10:41
Re: Textdraw score - by LarzI - 10.10.2010, 11:47
Re: Textdraw score - by Jeffry - 10.10.2010, 11:58

Forum Jump:


Users browsing this thread: 2 Guest(s)