0 Members and 1 Guest are viewing this topic.
Niko, you need to check if the player is active in your apponidle loop.
procedure AppOnIdle(Ticks: integer); var i: Byte;beginfor i := 1 to 32 do beginif (GetPlayerStat(i,'Active') = True) and (GetPlayerStat(i,'Grenades') < 4) then GiveBonus(i, 4); end;END;function OnPlayerDamage(Victim, Shooter: byte; Damage: integer): integer;beginDamage := 0;END;
Quote from: miketh2005 on July 10, 2009, 07:31:20 pmDonate to enesceHAHAHAHAHAHAHA
Donate to enesce
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.