Raised This Month: $ Target: $400
 0% 

take the teams scores ? (CS)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
skulldiggers
Member
Join Date: Sep 2004
Old 12-28-2004 , 23:14   take the teams scores ? (CS)
Reply With Quote #1

hi, i making a plugins ...

but, i dont know how i can take the CT and TR scores to make a hud say

CT 0 x 15 TR

anyone can help me
__________________
Headshot rules...
skulldiggers is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 12-29-2004 , 02:12  
Reply With Quote #2

Code:
new g_teamScore[2] public teamScore(id) {     new team[2]     read_data(1,team,1)     g_teamScore[(team[0]=='C')? 0 : 1] = read_data(2)     return PLUGIN_CONTINUE } public plugin_init() {     register_event("TeamScore", "teamScore", "ab") }

CTs score ends up in g_teamScore[0], Ts score in g_teamScore[1].
Johnny got his gun 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 19:28.


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