Raised This Month: $ Target: $400
 0% 

error 029: invalid expression, assumed zero


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 01-25-2010 , 13:33   error 029: invalid expression, assumed zero
Reply With Quote #1

Will someone help me find the bug?

PHP Code:
14 public player_spawn(id){
15    new minhp get_cvar_num("even_minhp");
16    new ajusted get_cvar_num("even_starthp") - get_cvar_num("even_ajusthp"); 
17    new FOK get_user_frags(id) - get_user_deaths(id); 
18    new KOF get_user_deaths(id) - get_user_frags(id); 
19    if(FOK >= 0)
20        if(ajusted 0
21            set_user_health(idajusted)
22        else
23            set_user_health(if, minhp
24    if(get_user_health(id) < ) 
25        set_user_health(idminhp
26    if(KOF >= 0
27        set_user_health(idajusted
28 

Last edited by timian; 01-25-2010 at 13:49.
timian is offline
 



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 07:19.


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