[Ajuda] Booleana
#8

A Callback que vocк quer chamar й a OnPlayerGiveDamage, correto?


PHP код:
public OnPlayerGiveDamage(playeriddamagedidFloat:amountweaponid)
{
    for(new 
0MAX_PLAYERSi++)
    {
        if(
uhul[i] == true)
        {
            static 
Float:vidaFloat:colete;
            
GetPlayerHealth(damagedidvida), GetPlayerArmour(damagedidcolete);
            
SetPlayerHealth(damagedid, (vida-amount)), SetPlayerArmour(damagedid, (colete-amount));
        }
    }
    return 
1;

@EDIT

Quote:
Originally Posted by FabioGTP
Посмотреть сообщение
Entendi obrigado, mais poderia explicar essa funзгo GetPlayerPoolSize ?
Pega o maior id online
Reply


Messages In This Thread
Booleana - by FabioGTP - 25.09.2016, 20:14
Re: Booleana - by JPedro - 25.09.2016, 20:21
Re: Booleana - by FabioGTP - 25.09.2016, 20:23
Re: Booleana - by JPedro - 25.09.2016, 20:28
Re: Booleana - by FabioGTP - 25.09.2016, 20:44
Re: Booleana - by Whoo - 25.09.2016, 20:58
Re: Booleana - by FabioGTP - 25.09.2016, 21:04
Re: Booleana - by JPedro - 25.09.2016, 21:04
Re: Booleana - by FabioGTP - 25.09.2016, 21:11
Respuesta: Booleana - by SammyJ - 25.09.2016, 21:14

Forum Jump:


Users browsing this thread: 3 Guest(s)