Possible to make guns stronger? ++
#1

Hello what i need to do is make it so if someone gets attacked by a knife they die in one? is this possible
and also make bullets stronger?

Thanks in advance!
Reply
#2

I know SetPlayerSkillLevel
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 999);
    //This will make player AK47 skill level to max.
    return 1;
}
Reply
#3

Using the weaponid param on OnPlayerTakeDamage, you can set the players health lower that the damage that is given with the weapon.
Reply
#4

HIC i see, what is the user id on the params though?
(playerid, issuerid, Float:amount, weaponid)
Reply
#5

Quote:
Originally Posted by legho
Посмотреть сообщение
HIC i see, what is the user id on the params though?
(playerid, issuerid, Float:amount, weaponid)
issuerid = The ID of the player that caused the damage. INVALID_PLAYER_ID if none.

Refer to the Wiki here.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)