Show number of players on a team in the bottom right corner? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Show number of players on a team in the bottom right corner? (
/showthread.php?tid=167585)
Show number of players on a team in the bottom right corner? -
lSCARl - 12.08.2010
how can i put like a permanent message on the bottom right corner of the screen that says how many people are on TEAM_HUNTER 1 so it says HUNTERS: 1 for example at the bottom
Re: Show number of players on a team in the bottom right corner? -
Kitten - 12.08.2010
so your meaning if a hunter gets a kill goes HUNTER: 2 like a scoreboard for the teams?
Re: Show number of players on a team in the bottom right corner? -
lSCARl - 12.08.2010
Quote:
Originally Posted by Kitten
so your meaning if a hunter gets a kill goes HUNTER: 2 like a scoreboard for the teams?
|
No. my game mode is hide n kill so i thought it would be a good idea if the hiders knew how many hunters were hunting them you know what i mean? so if there is 2 hunters for example the count goes to HUNTERS: 2 because when ever a hider dies he turns into a hunter so if 1 hider dies it will add to the count. hope i didnt confuse u
Re: Show number of players on a team in the bottom right corner? -
ScottCFR - 12.08.2010
Set a timer under OnGameModeInit. Then create the textdraw on a loop under OnGameModeInit, then as people spawn as TEAM_HUNTER += 1 and it should update, if you understand
Re: Show number of players on a team in the bottom right corner? -
lSCARl - 12.08.2010
Quote:
Originally Posted by ScottCFR
Set a timer under OnGameModeInit. Then create the textdraw on a loop under OnGameModeInit, then as people spawn as TEAM_HUNTER += 1 and it should update, if you understand
|
umm im a noob can you help me lol
Re: Show number of players on a team in the bottom right corner? -
lSCARl - 13.08.2010
Quote:
Originally Posted by ScottCFR
Set a timer under OnGameModeInit. Then create the textdraw on a loop under OnGameModeInit, then as people spawn as TEAM_HUNTER += 1 and it should update, if you understand
|
I know how to do a counter but what about the textdraw thing?
Re: Show number of players on a team in the bottom right corner? -
Cameltoe - 13.08.2010
https://sampwiki.blast.hk/wiki/TextDrawCreate
and read about the related functions
Re : Show number of players on a team in the bottom right corner? -
Amine_Mejrhirrou - 24.02.2011
can some one give a smal example plz