[Ajuda] Anime SAMP - Deitar de Costa no Chao!
#2

Em OnPlayerKeyStateChange(playerid, newkeys, oldkeys) vocк coloca isso aki \/
PHP код:
    if(newkeys KEY_JUMP && !(oldkeys KEY_JUMP) && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED)
    {
        
ApplyAnimation(playerid"GYMNASIUM""gym_jog_falloff",4.1,0,1,1,0,0);
    } 
No comando /algemar coloca isso aki dentro do comando
PHP код:
    if(IsPlayerInAnyVehicle(giveplayerid))
    {
        
ApplyAnimation(giveplayerid,"ROB_BANK","SHP_HandsUp_Scr",4.1,0,1,1,1,1);
        
ApplyAnimation(giveplayerid,"ROB_BANK","SHP_HandsUp_Scr",4.1,0,1,1,1,1);
        
TogglePlayerControllable(giveplayerid0);
        
RemovePlayerAttachedObject(giveplayerid8);
    }
    else
    {
        
SetPlayerSpecialAction(giveplayeridSPECIAL_ACTION_CUFFED);
        
SetPlayerAttachedObject(giveplayerid8194186, -0.0319990.024000, -0.024000, -7.900000, -32.000011, -72.2999871.1159981.3220001.406000);
    } 
OBS: Acertar a variavel "giveplayerid" para variavel que defini o player algemado. E no comando /prender add isso aqui \/
PHP код:
RemovePlayerAttachedObject(giveplayerid8); 
Reply


Messages In This Thread
Anime SAMP - Deitar de Costa no Chao! - by GustavoG3D - 27.12.2013, 20:53
Re: Anime SAMP - Deitar de Costa no Chao! - by lucas_mdr1235 - 27.12.2013, 23:00
Re: Anime SAMP - Deitar de Costa no Chao! - by GustavoG3D - 27.12.2013, 23:29
Re: Anime SAMP - Deitar de Costa no Chao! - by GustavoG3D - 27.12.2013, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)