associate vehicle health to a certain player?
#3

so vDriver would be the playerID of the vehicle with the most health?

Could i get the vehicle with the most health with this algorithm correctly?

pawn Код:
new highesth;
for(new i = 0; i < sizeof(MostHealth); i++)
if(MapsToVote[i] > highesth)
highesth = MostHealth[i];
thx already for ur help
Reply


Messages In This Thread
associate vehicle health to a certain player? - by PawnoQ - 27.11.2011, 14:13
Re: associate vehicle health to a certain player? - by Ash. - 27.11.2011, 14:20
Re: associate vehicle health to a certain player? - by PawnoQ - 27.11.2011, 14:30
Re: associate vehicle health to a certain player? - by Ash. - 27.11.2011, 14:44
Re: associate vehicle health to a certain player? - by PawnoQ - 27.11.2011, 14:50
Re: associate vehicle health to a certain player? - by PawnoQ - 28.11.2011, 19:35
Re: associate vehicle health to a certain player? - by Ash. - 28.11.2011, 19:40
Re: associate vehicle health to a certain player? - by PawnoQ - 28.11.2011, 19:45

Forum Jump:


Users browsing this thread: 5 Guest(s)