Raised This Month: $ Target: $400
 0% 

Team flash error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-17-2010 , 15:30   Re: Team flash error
Reply With Quote #1

Check if g_iCurrentFlasher is connected.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 11-17-2010, 22:21
nmjv367
This message has been deleted by Exolent[jNr]. Reason: Spambot
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 11-18-2010 , 07:17   Re: Team flash error
Reply With Quote #3

I check...

PHP Code:
if(is_user_connected(iOwner) && is_user_alive(iOwner))
            {
                
g_iCurrentFlasher iOwner
            

PHP Code:
if(is_user_connected(id) && is_user_alive(id))
    {
        new 
Float:flGameTime get_gametime()
        if( 
id != g_iCurrentFlasher && g_flCurrentGameTime == flGameTime && cs_get_user_team(id) == cs_get_user_team(g_iCurrentFlasher)    )
        { 
__________________
edgaras85 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-18-2010 , 15:54   Re: Team flash error
Reply With Quote #4

Quote:
Originally Posted by edgaras85 View Post
I check...

PHP Code:
if(is_user_connected(iOwner) && is_user_alive(iOwner))
            {
                
g_iCurrentFlasher iOwner
            

PHP Code:
if(is_user_connected(id) && is_user_alive(id))
    {
        new 
Float:flGameTime get_gametime()
        if( 
id != g_iCurrentFlasher && g_flCurrentGameTime == flGameTime && cs_get_user_team(id) == cs_get_user_team(g_iCurrentFlasher)    )
        { 
You have to check if g_iCurrentFlasher is connected in the ScreenFade event.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode