Hit Target
#1

Hi I have in shooting range a target and i need when somebody hit him,so add 10 weapon skill...
Thx
Reply
#2

< Removed >
Reply
#3

Quote:
Originally Posted by Clive
Посмотреть сообщение
Use it on OnPlayerDeath
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
Weapon type: https://sampwiki.blast.hk/wiki/Skillweapons
Like this:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerSkillLevel(killerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 10);
    return 1;
}
Oh thx but I thought the target is thing not player (/imageshack/i/fsa.png/)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)