take player gun?
#1

Hi all, I was wondering, is there any way to take player gun, just specific gun, not all guns?
Reply
#2

Maybe GivePlayerWeapon(giveplayerid,weapon,0 ammo) and he will lose his weapon
Reply
#3

I know but sometimes it doesn't work :/ Like for me now :S
Mybe kalcor should make this function, TakePlayerWeapon(playerid, weaponid);
Reply
#4

What do u mean by take it ?
Like take it from one player and give it to another or just remove a specific weapon
Edit
If you want to remove a specific weapon u can get all player guns and save them somewhere
Then Resethisweapons and add all of them again but just don't add the pane that you want to remove
Reply
#5

https://sampwiki.blast.hk/wiki/SetPlayerAmmo
Set the weapon specified id's ammo to 0.
Reply
#6

http://forum.sa-mp.com/showpost.php?...&postcount=437

Or search.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)