Rep for the one who figures this out
#1

dddd
Reply
#2

Under OnPlayerUpdate
pawn Код:
if(GetPlayerWeapon(playerid) == 0)
{
    SetPlayerArmedWeapon(playerid, 1, 1);
}
https://sampwiki.blast.hk/wiki/GetPlayerWeapon
https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon

you could go even further then this and create a function that detects the players last weapon and set him back to it when the script detects he has "fists" which is weapon id 0.

good luck!
Reply
#3

EDIT: Voxel was first :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)