Sound Commands for VIPs
#5

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

    if(
Player[playerid][vip] > 0
    { 
        
SendClientMessageToAll(-1"{FF0000}Another win for sir{01DF3A}!"); 
        new 
Float:pos[3];
        for(new 
iMAX_PLAYERSi++)
        {        
          if(!
IsPlayerConnected(i)) continue; 
          
GetPlayerPos(ipos[0], pos[1], pos[2]); 
          
PlayerPlaySound(i5462,pos[0], pos[1], pos[2]); 
        }
        
    } 
    else 
    { 
        
Server(playerid"This command only for VIP's."); 
    } 
    return 
1

Gonna try it, thanks for your help!

EDIT: It worked, thanks for your help! +REPed.
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)