Sound Commands for VIPs
#3

Quote:
Originally Posted by 99fe3rnando
Посмотреть сообщение
PHP код:
COMMAND:winforsir(playeridparams[]) 

    if(
Player[playerid][vip] > 0
    { 
        new 
Float:pos[3]; 
        
GetPlayerPos(playeridpos[0], pos[1], pos[2]); // get pos
        
PlayerPlaySound(playerid5462pos[0], pos[1], pos[2]); // sound pos
        
SendClientMessageToAll(-1"{FF0000}Another win for sir{01DF3A}!"); 
    } 
    else 
    { 
        
Server(playerid"This command only for VIP's."); 
    } 
    return 
1

I want to make all the server to listen to that sound command, not only the VIP. Can you help me with that?
Reply


Messages In This Thread
Sound Commands for VIPs - by EgyptForLife - 25.08.2016, 22:48
Re: Sound Commands for VIPs - by 99fe3rnando - 25.08.2016, 22:55
Re: Sound Commands for VIPs - by EgyptForLife - 25.08.2016, 22:57
Re: Sound Commands for VIPs - by 99fe3rnando - 25.08.2016, 23:00
Re: Sound Commands for VIPs - by EgyptForLife - 25.08.2016, 23:03

Forum Jump:


Users browsing this thread: 1 Guest(s)