OnPlayerTakeDamage problem
#3

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(issuerid != INVALID_PLAYER_ID) { //Remove this if statement if you want EVERYTHING to do no damage (falls, explosions, ect still will)
        GivePlayerHealth( playerid, amount );
    }
    return true;
}
credits to 2KY for making it
Reply


Messages In This Thread
OnPlayerTakeDamage problem - by UtkUguR - 07.03.2012, 19:18
Re: OnPlayerTakeDamage problem - by Minds - 07.03.2012, 23:17
Re: OnPlayerTakeDamage problem - by new121 - 08.03.2012, 01:33
Re: OnPlayerTakeDamage problem - by cessil - 08.03.2012, 07:36
Re: OnPlayerTakeDamage problem - by UtkUguR - 08.03.2012, 21:12

Forum Jump:


Users browsing this thread: 2 Guest(s)