AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Wich team win at end of the map (https://forums.alliedmods.net/showthread.php?t=225541)

Bladell 09-06-2013 04:28

Wich team win at end of the map
 
How can I check wich team win before vote for next map start?

SpaWn2KiLl 09-06-2013 08:52

Re: Wich team win at end of the map
 
This way you get CT score and T score...

PHP Code:

new TeamOneTeamTwo

public plugin_init()
{
    
register_event("TeamScore""terr_score""a""1=TERRORIST")
    
register_event("TeamScore""ct_score""a""1=CT")
}

public 
terr_score()
{
    
TeamOne read_data(2)
}
 
public 
ct_score()
{
    
TeamTwo read_data(2)




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

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