AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved] SendAudio (https://forums.alliedmods.net/showthread.php?t=143796)

ProIcons 11-25-2010 04:36

[Solved] SendAudio
 
PHP Code:

register_event("SendAudio""round_end""a""2=%!MRAD_terwin""2=%!MRAD_ctwin""2=%!MRAD_rounddraw")


public 
round_end() {
    new 
roundwinner[32];
    
msg("Win The Round");
    
read_data(2roundwinner31)
    if (
roundwinner[7] == 't')
    {
        
check_round("t");
        
msg("Terrorists Win The Round - %s",roundwinner);
    }
    else if (
roundwinner[7] == 'c')        // CT wins
    
{
        
check_round("ct");
        
msg("Counter Terrorists Win The Round - %s",roundwinner);
    }


It just doesn't work


All times are GMT -4. The time now is 11:17.

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