You don't need 2 variables if you only use the indexes for this.
PHP Code:
new players[32], count, randomplayer
get_players(players,count,"ae","TERRORIST")
randomplayer = players[random(count)]
set_user_health(randomplayer,300)
// if you need the random T index after this code, then you should make 2 variables, because we are getting the CT index in the same variable.......
get_players(players,count,"ae","CT")
randomplayer = players[random(count)]
set_user_health(randomplayer,300)
ColorChat(id, GREEN, "[%s] Objective:^1 Kill the opposite VIP!", szPrefix)
ColorChat(id, GREEN, "[%s]^1 The current round is:^4 Kill the VIP!", szPrefix)
Also, you need the "e" flag for the specific team in get_players.
__________________