Raised This Month: $ Target: $400
 0% 

Help me i'm getting insane


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hellraser
Member
Join Date: Jul 2004
Old 02-28-2005 , 13:36   Help me i'm getting insane
Reply With Quote #1

hey all, this is very simple but it just won't work please help me to resolve my problem :'((

Code:
new g_teamScore[2]

public teamScore() { 
new team[2] 
new maxRounds = get_cvar_num("mp_maxrounds") 
read_data(1,team,1) 
g_teamScore[(team[0]=='C')? 0 : 1] = read_data(2) 
client_print(0,print_chat,"Remaining rounds: %d",maxRounds -(g_teamScore[0] + g_teamScore[1])) 
}
This is just the problematic part, i just want to show how many rounds are left before END and it just doesn't count the rounds that have past...like if mp_maxplayers = 5,then it will always say "Remaining rounds! 5"....
PLEASE HELP :'(!

Thx,
hellraser is offline
hellraser
Member
Join Date: Jul 2004
Old 02-28-2005 , 13:53  
Reply With Quote #2

Nevermind....just forgot something elementary...please lock or delete or whatever

Thx
hellraser is offline
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 14:03.


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