Problem with TogglePlayerControllable
#7

Quote:
Originally Posted by Hrb
View Post
Zkus toto:

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) 
{ 
    if(issuerid != INVALID_PLAYER_ID) 
    { 
        if(weaponid == 0 && AFK[playerid]) 
        { 
            new Float:iarmour;
            new Float:ihealth;  
            GetPlayerArmour(playerid, iarmour);
            GetPlayerHealth(playerid, ihealth);
            SetPlayerArmour(playerid, iarmour); 
            SetPlayerHealth(playerid, ihealth); 
        } 
    } 
    return 1; 
}
CZ: Dнky moc
EN: Nice one
Reply


Messages In This Thread
Problem with TogglePlayerControllable - by ForestCZE - 27.02.2018, 10:19
Re: Problem with TogglePlayerControllable - by Hrb - 27.02.2018, 11:42
Re: Problem with TogglePlayerControllable - by ForestCZE - 27.02.2018, 13:18
Re: Problem with TogglePlayerControllable - by Hrb - 27.02.2018, 14:10
Re: Problem with TogglePlayerControllable - by Sew_Sumi - 27.02.2018, 14:52
Re: Problem with TogglePlayerControllable - by Lucases - 27.02.2018, 21:02
Re: Problem with TogglePlayerControllable - by ForestCZE - 27.02.2018, 21:07
Re: Problem with TogglePlayerControllable - by Sew_Sumi - 27.02.2018, 21:40

Forum Jump:


Users browsing this thread: 1 Guest(s)