SetPlayerArmedWeapon
#1

What is SetPlayerArmedWeapon?
What it is used for?
And is it possible that I can give a weapon to a NPC so it would run around with that weapon (that weapon isn't at the spawn info)?
Reply
#2

Quote:
Originally Posted by RC5-1
- Added SetPlayerArmedWeapon. (bye SetDisabledWeapons :'( )
https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon
Reply
#3

So it sets the weapon which will be shown for other players?
Reply
#4

Shame it doesn't work in vehicles. Would have been perfect for anti-driveby.
Reply
#5

Already checked the wiki for that function, didn't clear up anything.
Is this just simply a function that will scroll the weapons to a specific one?
And what about NPCs?
Reply
#6

Wait, so it synchronizes a weapon or it sets a weapon they already have in a slot?
Reply
#7

i think it just puts the gun you have in your hand
Reply
#8

Quote:
Originally Posted by Balon
So it sets the weapon which will be shown for other players?
It sets the weapon you want to be held by a player at the moment instead of having it hidden (You can obviously set it to 0, so the player gets unarmed).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)