Quote:
Originally Posted by CAR
Yes, but then he can also kill with a Gun while he's got a knife, use this:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { if(reason == 4) { GivePlayerMoney(killerid, 500); } return 1; }
|
GetPlayerWeapon() returns the weapon that the player is currently holding.