How to detect the highest vehicle health ?
#4

I've set the "new Float:maxx = 0;" and "new winner = -1;", as well as the "if(winner != -1)..,...." out of the "Foreach"
if I'm right it won't work if you put it into the foreach, as it would detect each player as winner (except if he isn't in a vehicle or the vehicle has the health 0.0000)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)