Show Number of players on a team on bottom left corner?
#7

Quote:
Originally Posted by Claude
Посмотреть сообщение
Somewhere at the top new thplayers;
At OnFilterScriptInIt or OnGameModeInIt
pawn Код:
thplayers = TextDrawCreate(..);
Change the
pawn Код:
format(string, sizeof(string),"~n~ ~n~ ~n~ ~n~ ~g~Team Hunter Players: %d", teamcount); // the ~n~ makes it go to the bottom
        GameTextForAll(1000, 3);
to
pawn Код:
format(string, sizeof(string), "Team Hunter players: %d", teamcount);
TextDrawSetString(thplayers, string);
Textdraw: Make yourself one using Textdraw creator
i get this
C:\Users\Brandon\Desktop\GTA SAN ANDREAS\GTA San Andreas\samp\gamemodes\HnK.pwn(105) : error 029: invalid expression, assumed zero
C:\Users\Brandon\Desktop\GTA SAN ANDREAS\GTA San Andreas\samp\gamemodes\HnK.pwn(105) : warning 213: tag mismatch
C:\Users\Brandon\Desktop\GTA SAN ANDREAS\GTA San Andreas\samp\gamemodes\HnK.pwn(337) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

line 105
Код:
thplayers = TextDrawCreate(..);
line 337
Код:
TextDrawSetString(thplayers, string);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)