AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   take the teams scores ? (CS) (https://forums.alliedmods.net/showthread.php?t=8852)

skulldiggers 12-28-2004 23:14

take the teams scores ? (CS)
 
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

Johnny got his gun 12-29-2004 02:12

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].


All times are GMT -4. The time now is 19:28.

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