[Ajuda] Diminuir dano da arma
#4

Tenta ae
Код:
new Float:Health[MAX_PLAYERS], Float:Armour[MAX_PLAYERS];
if( Armour[playerid] > 1 )
{
if( weaponid == 24 )// em este caso vocк remover  20 Armour
{
SetPlayerArmour( playerid , GetPlayerArmour(playerid) - 20);
}
}
else if(Armour[playerid] < 0)
{
if(weaponid == 24 )// em este caso vocк remover  20 Health
{
SetPlayerHealth( playerid , GetPlayerHealth(playerid) - 20);
}
}
return 1;
}
Reply


Messages In This Thread
Diminuir dano da arma - by wallacematheus - 06.03.2013, 11:16
Re: Diminuir dano da arma - by Josma_cmd - 06.03.2013, 11:38
Re: Diminuir dano da arma - by wallacematheus - 06.03.2013, 12:32
Re: Diminuir dano da arma - by Absolution - 06.03.2013, 18:10

Forum Jump:


Users browsing this thread: 2 Guest(s)