SetPlayerArmedWeapon
#2

SetPlayerArmedWeapon(playerid, 0);

Makes the player only use their fist. Unless they cycle through the weapon inventory, then just use something to reset it back to 0, if you wish. This works for any weapon ID (but not jetpacks, connect/disconnect etc).
Reply


Messages In This Thread
SetPlayerArmedWeapon - by Brendan_Thomson - 21.09.2009, 17:08
Re: SetPlayerArmedWeapon - by Calgon - 21.09.2009, 17:23
Re: SetPlayerArmedWeapon - by Brendan_Thomson - 21.09.2009, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)