SA-MP Forums Archive
Hide weapon on scroll - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hide weapon on scroll (/showthread.php?tid=578607)



Hide weapon on scroll - seler - 20.06.2015

Hey.
It's available to hide weapon on player scroll with pawn, or to block him for pull out weapon?


Re: Hide weapon on scroll - Shetch - 20.06.2015

https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon

Код:
public OnPlayerUpdate(playerid)
{
    SetPlayerArmedWeapon(playerid,0); // disables weapons
    return 1;
}