Raised This Month: $ Target: $400
 0% 

Sound File


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Erdener
Senior Member
Join Date: Apr 2010
Location: Turkey
Old 03-01-2013 , 06:41   Sound File
Reply With Quote #1

How can i run sound files?

PHP Code:
Slayaim(id)
{
    new 
playerbody;
    new 
szPlayerName[32];
    
get_user_aiming(idplayerbody);
    
get_user_name(playerszPlayerName32);

    if (
get_user_flags(id) & ADMIN_BAN)
    {
        if (
is_user_alive(player) && get_user_flags(player) & ADMIN_IMMUNITY)
        {
            
client_print(id"You cant slay some one with Immunity!");
        }
        else
        if (
is_user_alive(player))
        {
            
user_kill(player);
            
client_print(player"You have been Slayed!");
            
client_print(id"You just Slayed %s!"szPlayerName);
            
client_cmd(0"spk %s"sounds[random_num(0charsmax(sounds))]);
        }
    }


Last edited by Erdener; 03-01-2013 at 06:46.
Erdener 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 21:36.


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