PDA

View Full Version : Powers not unloading on when Superhero is disable


Soloist
01-24-2006, 15:37
If you disable Superhero mid game, or after the plugin has been turned on. The powers don't turn off.

Examples:
If you have Agent Zero(No Recoil) and Supehero is disable you still have no recoil.
I have also had reports from my admins saying that Zeus still respawns people after Superhero disable(But I haven't seen it)


Shero 1.18d
AMXX 1.6
metamod 1.18

jtp10181
01-24-2006, 21:09
thats a bug with the individual heroes not the mod itself. The heroes are supposed to check if the mod is enabled before they do anything.

as for zeus, here is the top a function, to fix the bug in that hero

public zeus_death()
{
new id = read_data(2)

if ( gBetweenRounds || !shModActive() ) return
if ( !is_user_connected(id) || is_user_alive(id) ) return

imported_RaiN
01-25-2006, 00:19
Yeah, same thing happens with Iron Man, my armor still charges up even though SuperHero/AMXX is off.

jtp10181
01-25-2006, 06:07
there is a better solution to this and we will have to implement it in the module. Make an actual command to disable SH and then send out a signal to the heroes to disable for all the players.

Soloist
02-06-2006, 12:32
Another hero that has this problem is Captain America.