Raised This Month: $12 Target: $400
 3% 

Help / Support Problem Copile


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ESPADONGAMING
Senior Member
Join Date: Mar 2011
Location: In the Game [ro]
Old 10-02-2011 , 18:11   Problem Copile
Reply With Quote #1

Error copile...

PHP Code:
new g_isconnected[33// whether player is connected

#define is_user_valid_connected(%1) (1 <= %1 <= g_maxplayers && g_isconnected[%1]) 
PHP Code:
// Temporarily save player stats?
    
if (get_pcvar_num(cvar_statssave))
    {
        static 
idteam
        
for (id 1id <= g_maxplayersid++)
        {
            
// Not connected
            
if (!is_user_valid_connected(id)) // here's the problem
                
continue;
            
            
team =  cs_get_user_team(id)
            
            
// Not playing
            
if (team == FM_CS_TEAM_SPECTATOR || team == FM_CS_TEAM_UNASSIGNED)
                continue;
            
            
save_stats(id)
        }
    } 
[IMG]http://img132.**************/img132/9899/chighcs.png[/IMG]
ESPADONGAMING is offline
Send a message via MSN to ESPADONGAMING Send a message via Yahoo to ESPADONGAMING Send a message via Skype™ to ESPADONGAMING
ESPADONGAMING
Senior Member
Join Date: Mar 2011
Location: In the Game [ro]
Old 10-03-2011 , 02:45   Re: Problem Copile
Reply With Quote #2

help...?
ESPADONGAMING is offline
Send a message via MSN to ESPADONGAMING Send a message via Yahoo to ESPADONGAMING Send a message via Skype™ to ESPADONGAMING
ESPADONGAMING
Senior Member
Join Date: Mar 2011
Location: In the Game [ro]
Old 10-03-2011 , 07:42   Re: Problem Copile
Reply With Quote #3

solved...
new error

PHP Code:
// Reward ammo packs
        
if (!g_survivor[attacker] || !get_pcvar_num(cvar_survignoreammo))
        || (
g_hero[attacker] || !get_pcvar_num(cvar_heroignoreammo)) 
Error: Invalid expression, assumed zero on line 2308
ESPADONGAMING is offline
Send a message via MSN to ESPADONGAMING Send a message via Yahoo to ESPADONGAMING Send a message via Skype™ to ESPADONGAMING
artos
Senior Member
Join Date: Mar 2010
Old 10-03-2011 , 09:22   Re: Problem Copile
Reply With Quote #4

Quote:
Originally Posted by ESPADONGAMING View Post
solved...
new error

PHP Code:
// Reward ammo packs
        
if (!g_survivor[attacker] || !get_pcvar_num(cvar_survignoreammo))
        || (
g_hero[attacker] || !get_pcvar_num(cvar_heroignoreammo)) 
Error: Invalid expression, assumed zero on line 2308
Replace with:

PHP Code:
if (!g_survivor[attacker] || !get_pcvar_num(cvar_survignoreammo) || g_hero[attacker] || !get_pcvar_num(cvar_heroignoreammo)) 
__________________
artos is offline
Send a message via Skype™ to artos
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 10-03-2011 , 10:22   Re: Problem Copile
Reply With Quote #5

Wrong section, post in scripting help.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 10-03-2011 , 13:00   Re: Problem Copile
Reply With Quote #6

Quote:
Originally Posted by abdul-rehman View Post
Wrong section, post in scripting help.
what the diffrence between Help / Support and Scripting / Help ???? , thei are the same
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 10-03-2011 , 13:41   Re: Problem Copile
Reply With Quote #7

Quote:
Originally Posted by Dolph_Ziggler View Post
what the diffrence between Help / Support and Scripting / Help ???? , thei are the same
Help/Support is ragarding help in configuring the mod it self, installing sub-plugins etc, Scripting help is for help regarding your own piece of code you may be working on.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
ESPADONGAMING
Senior Member
Join Date: Mar 2011
Location: In the Game [ro]
Old 10-03-2011 , 16:09   Re: Problem Copile
Reply With Quote #8

thx,
ESPADONGAMING is offline
Send a message via MSN to ESPADONGAMING Send a message via Yahoo to ESPADONGAMING Send a message via Skype™ to ESPADONGAMING
Reply


Thread Tools
Display Modes

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:45.


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