SA-MP Forums Archive
Detonator not gven - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Detonator not gven (/showthread.php?tid=481706)



Detonator not gven - SlonCHL - 17.12.2013

The detonator for Satchel Charge is given but when I scroll to that detonator the icon doesn't show up(I don't think I'll be holding the det too when I scroll to it, can't remember), how can I fix it??


Re: Detonator not gven - Jstylezzz - 17.12.2013

Try giving the detonator separatly, check the detonator ID between the weapon id's on the wiki.


Re: Detonator not gven - Excelize - 17.12.2013

When you do:
Код:
GivePlayerWeapon(playerid, 39, (Amount of Ammo))
It should do it, since it is a basic GTA function.

Are you using this code, or something different? If so, then please show us the code


Re: Detonator not gven - SlonCHL - 17.12.2013

Quote:
Originally Posted by Excelize
Посмотреть сообщение
When you do:
Код:
GivePlayerWeapon(playerid, 39, (Amount of Ammo))
It should do it, since it is a basic GTA function.

Are you using this code, or something different? If so, then please show us the code
I'm using that code, what other code can I use to give weapon lol but I'm still not receiving it

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
Try giving the detonator separatly, check the detonator ID between the weapon id's on the wiki.
Hmm, that's the last thing I wanna do, can I give the player a det when I give him a Satchel? Will it disappears when the user click the det when he did not throw any Satchel?


Re: Detonator not gven - iGetty - 17.12.2013

Have you got an anti-weapon hack at all? Something like, GivePlayerWeaponEx or GiveServerWeapon or anything like that?


Re: Detonator not gven - SlonCHL - 17.12.2013

Anti weapon hack, no but what you meant by GivePlayerWeaponEx, I have a code to that save the gun id and ammo before I reset the player weapon when he changes team then gives him back when a new round starts with GivePlayerWeapon function


Re: Detonator not gven - SlonCHL - 18.12.2013

----


Re: Detonator not gven - Siddhant240201 - 04.09.2016

I am having same problem When I throw the Satchel the Detonator is given but when i scroll down to it its doesn't show the icon but its there