help with teams money
#1

Hi
Im have a tdm

i want to make a textdraw with showing the team with the most money like:

~Team Grove is leading with $743874~

Anyone can help me?
Reply
#2

pawn Код:
new str[128];
format(str,128,"~~w~Team Grove ~g~is leading ~w~with $%i~",TeamCash);
GameTextForAll(str, 5000, 3);
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
  if(!IsPlayerConnected(i) && GetPlayerTeam == TEAM_GROOVE) continue;
  GetPlayerMoney(playerid);
}
It should work.. (not tested)
Reply
#3

Thanks ill test it now
Reply
#4

Works but how do i change Team Grove in the team that is really leading
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)