[Ajuda] settimer
#4

PHP код:
SetTimer("CheckVida"1000false); 
KillVida 

forward CheckVida
(playerid); 
public 
CheckVida(playerid

    new 
Float:vida
    
GetPlayerHealth(playeridvida); 

    if(
KillVida == 1
    { 
        if(
vida <= 100.0
        { 
             
ApplyAnimation(playerid"PED""KO_shot_stom",5.0,1,0,0,0,0); 
        } 
    } 
    return 
1

assim?
Reply


Messages In This Thread
settimer - by iWiNeR - 17.05.2018, 20:31
Re: settimer - by Ermanhaut - 17.05.2018, 21:23
Re: settimer - by iWiNeR - 17.05.2018, 22:43
Re: settimer - by AutoMatic2 - 17.05.2018, 22:50
Re: settimer - by Ermanhaut - 17.05.2018, 22:52
Re: settimer - by iWiNeR - 17.05.2018, 22:53
Re: settimer - by iWiNeR - 17.05.2018, 22:57
Re: settimer - by Ermanhaut - 17.05.2018, 22:58
Re: settimer - by iWiNeR - 18.05.2018, 01:34
Re: settimer - by CyNiC - 18.05.2018, 03:17

Forum Jump:


Users browsing this thread: 1 Guest(s)