There is a missing line in the code, at:
Code:
public poop() {
new players[32],num,i
for(i = 0; i <= num; i++) {
Add so it is:
Code:
public poop() {
new players[32],num,i
get_players(players,num)
for(i = 0; i <= num; i++) {
This is in the Wrong order:
Code:
set_user_health(id,115)
client_print(id,print_chat,"Due to your inability to own you have gained more health.")
}
if(frags < (deaths/1.5)) {
set_user_health(id,110)
client_print(id,print_chat,"Due to your inability to own you have gained more health.")
}
if(frags < (deaths)) {
set_user_health(id,105)
client_print(id,print_chat,"Due to your inability to own you have gained more health.")
}
Change it to the 115 first and the 105 first.
When I changed this things the plugin was brilliant. thx!