You can do an if, if frags isn't 0 return frags to 0 and make a counter. (c+=1) something like this..
The real frags are the counter. Do you understand? But you have to do another if for the bombs frag and defused frags.
If user defused (c=c+3) if user plant and the bomb blows (c=c+3)
Its an idea.. I don't put the code because i don't know much pawn.. you can see in my posts