[Ajuda] /Handsup
#5

PHP код:
if (strcmp(cmd, "/handsup", true) == 0)
{
    if ( 
IsACop (playerid  ) )
         return 
SendClientMessage ( playerid, -1, "[ ERRO ]: Vocк й policial nгo pode usar este comando" ) ;
         
    
GetPlayerName ( playerid, sendername, sizeof ( sendername ) ) ;
       
    
format ( string, sizeof ( string ), "O Suspeito(a) %s digitou /handsup !.", sendername ) ;
    
    
ProxDetector ( 30.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE ) ;
    
    
SetPlayerSpecialAction ( playerid, SPECIAL_ACTION_HANDSUP ) ;
    return 
true;
} 
Reply


Messages In This Thread
/Handsup - by Wendell - 06.05.2013, 16:01
Re: /Handsup - by smiiir - 06.05.2013, 16:09
Re: /Handsup - by ProKillerpa - 06.05.2013, 16:12
Respuesta: /Handsup - by Wendell - 06.05.2013, 16:31
Re: /Handsup - by smiiir - 06.05.2013, 16:48
Re: /Handsup - by ViictorDaay- - 06.05.2013, 16:48
Re: /Handsup - by VitorMFig - 06.05.2013, 19:04
Respuesta: /Handsup - by Wendell - 06.05.2013, 19:17
Re: /Handsup - by willian Franco - 06.05.2013, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)