Raised This Month: $ Target: $400
 0% 

take the teams scores ? (CS)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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