SetPlayerArmedWeapon
#1

Doesn't work for fists, is this possible?
Reply
#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
#3

Quote:
Originally Posted by Seif_ [adream-rp.com
]
Try with brass knuckles in that case, they're almost the same.
Yeh this is what I will probably end up doing as it's how i had it anyway, but it's just a pain in the ass that you can't use just fists.

I have server side weapons and it syncs up with the server every minute, then sets the weapon they were holding back as their armed weapon, cant' do that unless you use brass knuckles!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)