View Single Post
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-13-2013 , 07:32   Re: Team Balance Immunity
Reply With Quote #234

Quote:
Originally Posted by DontWannaName View Post
What would we need to change in the plugin?

Is it CanBeAutobalanced instead of OnCanBeAutobalanced?
Psychonic's version include
PHP Code:
OnCanBeAutobalanced(client, &bool:result); 
Original Version Include:
PHP Code:
OnBalanceCheck(client, &bool:actual); 
They work quite same
Two things need to be done
1. Replace OnBalanceCheck(client, &bool:actual) with OnCanBeAutobalanced(client, &bool:result)
2. Replace in whole code "actual" with "result"

Could be also easily done by python script
__________________
...

Last edited by Oshizu; 09-13-2013 at 15:46.
Oshizu is offline