View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-14-2021 , 00:45   Re: [req] HLTV in TTT
Reply With Quote #2

I think you might be able to get away with updating all uses of get_players() in ttt_core.sma and ttt_team_management.sma to use the "h" flag (the third parameter).

If the third argument already exists, make sure that it includes an "h" in the string. If the flag is "e" or "f" then it probably doesn't need the "h" because those search by team and name, respectively. The variable names "players" and "num" seem to be consistent but you should double check when you are replacing them, in fact, I would suggest just adding the third parameter manually so you don't have to worry about messing up the variables.

Examples:
Code:
get_players(players, num, "h")

Code:
get_players(players, num, "bh")

I'd also recommend changing the version number on both of these plugins too.

Make a backup of the original .amxx files first so that you can quickly restore them if something goes wrong.
__________________

Last edited by fysiks; 04-14-2021 at 01:00.
fysiks is offline