stigma: As for dividing, the result will be an integer, which probably isn't the kind of ratio you want (no decimals). But, what is the context of that code? Are you assigning it to a variable, or just running that piece by itself?
As for it getting lots of grenades, here is the start of the GunGame DeathMsg hook, it should explain it to you:
Code:
new Float:time = get_gametime();
// a bug with valve's code (dvander said so!):
// sometimes, when using an item giving code
// (as that's where this can lead) within a message
// hook, the message hook can get called twice.
// so, if this player "dies" twice within X seconds,
// it's obviously a bugged message, so ignore.
if(time - lastDeathMsg[victim] < 0.2)
return;
lastDeathMsg[victim] = time;
Phantom Warrior: Umm... it is his full code?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS