[Ajuda] [BUG GTA] Andar atirando!
#4

Anti-slide bug

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if(
GetPVarInt(playerid"Slide") == && newkeys KEY_SPRINT && newkeys KEY_HANDBRAKE)
        
ApplyAnimation(playerid"GYMNASIUM""gym_jog_falloff"4.101100);
   
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
    new
       
Keysudlr;
    
GetPlayerKeys(playeridKeysudlr);
    if(
ud 0SetPVarInt(playerid"Slide"1);
    else 
SetPVarInt(playerid"Slide"0);
    return 
1;

Reply


Messages In This Thread
[BUG GTA] Andar atirando! - by SukMathcuck - 29.12.2016, 11:34
Respuesta: [BUG GTA] Andar atirando! - by SammyJ - 29.12.2016, 11:38
Re: [BUG GTA] Andar atirando! - by n0minal - 29.12.2016, 11:42
Re: [BUG GTA] Andar atirando! - by Pablo098 - 29.12.2016, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)