View Single Post
DPT
Member
Join Date: Jun 2011
Old 12-21-2012 , 04:49   Re: Same IP Blackout v2.0 - n0br41ner
Reply With Quote #24

I don't know why its not blacking out players who have the same ip in my server. I have set amx_blackout 1 but still nothing happens.

From your code:
PHP Code:
 public BlackoutOnDeath( ) {
 
g_iDeadPlayer read_data);
 
 if( 
g_Blackout && g_bSameIPs[g_iDeadPlayer] && !is_user_aliveg_iDeadPlayer ) ) { 
the if condition mentions the g_bSameIPs[g_iDeadPlayer] variable. I don't see any other part in the whole code that initiates and assigns a value to g_bSameIPs except in the ScanIP procedure. This means that if amx_scanips wasn't executed, the g_bSameIPs variable would remain blank meaning that the automatic blackout wouldnt work.

Do you know what I mean?

If there's something that im missing out, please let me know.

Thanks

Last edited by DPT; 12-21-2012 at 04:54.
DPT is offline