Can't find what I'm looking for...
#1

What I'm looking for is a bit of script or a function that will remove the weapon that is in a player's hand. ****** has given me nothing -_-
Reply
#2

Store all the player's weapons/ammo except the one you want to remove into an array, after that, remove all weapons from the player and to finish the function, give to the player the stored weapons.
Reply
#3

Quote:
Originally Posted by Xabi
Посмотреть сообщение
Store all the player's weapons/ammo except the one you want to remove into an array, after that, remove all weapons from the player and to finish the function, give to the player the stored weapons.
Sounds complicated. Why can't there just be a function for this :/
Reply
#4

https://sampwiki.blast.hk/wiki/ResetPlayerWeaponsEx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)