View Single Post
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 07-30-2012 , 19:52   Re: Invisible Player
Reply With Quote #3

Instead of using
PHP Code:
if (g_is_invisible[player]==false) {
    
// <>
}
else if (
g_is_invisible[player]) {
    
// <>

you could just use
PHP Code:
if ( !g_is_invisible[player] ) {
    
// <>
}
else {
    
// <>

__________________

Last edited by isotonic; 07-30-2012 at 19:52.
isotonic is offline