On picking up the damage bonus, you start a timer for 10 seconds and set a global variable to true. At the end of the 10 seconds you set this variable to false.
On the logic for your shotgun use where its taking 1 from the ammo, you add a separate condition, if the global variable is true then don't do subtract 1 (don't do anything).
Thanks for your reply, i tryed your logic but it didnt work for me, so at end i end up with another solution, i created a global variable Timer 10 sec and i subtract 1 from timer variable and set abletoshot to 0
AND IT WOOOORK
thanks again, i love this program because there is always a way to do something just need to open my mind to make it logic.
thanks again