Minigun dmg
#1

how can i make the miniguns dmg to be like the ak47's dmg?
Reply
#2

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    new Float:Health;
    GetPlayerHealth(playerid, Health);

    if( weaponid == 38 ) { //38 - Minigun
    SetPlayerHealth(playerid, Health-10);
    }
    return 1;
}
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)