[Pedido] /handsup e /mijar
#4

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    new 
AnimState[MAX_PLAYERS];
    if (
strcmp("/handsup"cmdtexttrue10) == 0// hands up = maos em cima
    
{
        if (
AnimState[playerid] == 1){return 1;} else {
        
SetPlayerSpecialAction(playeridSPECIAL_ACTION_HANDSUP);
        
AnimState[playerid] = 1;}
        return 
1;
    }
    if (
strcmp("/pee"cmdtexttrue10) == 0// pee = mijar
    
{
        if (
AnimState[playerid] == 1){return 1;} else {
        
SetPlayerSpecialAction(playerid68);
        
AnimState[playerid] = 1;}
        return 
1;
    }
    if (
strcmp("/stop"cmdtexttrue10) == 0// stop = parar
    
{
        if (
AnimState[playerid] == 0){return 1;} else {
        
ClearAnimations(playerid);
        
AnimState[playerid] = 0;}
        return 
1;
    }
    return 
0;

Reply


Messages In This Thread
/handsup e /mijar - by SouUmaJujuba - 24.09.2013, 03:17
Re: /handsup e /mijar - by JeeanK2 - 24.09.2013, 03:18
Re: /handsup e /mijar - by iFucK - 24.09.2013, 03:18
Re: /handsup e /mijar - by RuanRider - 24.09.2013, 03:34
Re: /handsup e /mijar - by zSuYaNw - 24.09.2013, 03:55
Respuesta: /handsup e /mijar - by leonardoaparecido - 24.09.2013, 16:41
Re: /handsup e /mijar - by Juniiro3 - 24.09.2013, 16:43
Re: /handsup e /mijar - by BielCOP - 24.09.2013, 21:07
Re: /handsup e /mijar - by DannielCooper - 24.09.2013, 23:30
Re: /handsup e /mijar - by RuanRider - 24.09.2013, 23:32

Forum Jump:


Users browsing this thread: 1 Guest(s)