Rep for the one who figures this out
#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


Messages In This Thread
Fixedd - by Danialdano - 03.12.2013, 10:42
Re: Rep for the one who figures this out - by Voxel - 03.12.2013, 10:45
Re: Rep for the one who figures this out - by Don_Cage - 03.12.2013, 10:47

Forum Jump:


Users browsing this thread: 1 Guest(s)