0 Members and 1 Guest are viewing this topic.
if (GetPlayerStat(ID,'name') = 'Kamikaze') and (GetPlayerStat(ID,'Health')<=30) then begin
function OnPlayerDamage(Victim, Shooter: byte; Damage: integer): integer;varX, Y: single;beginif (GetPlayerStat(Shooter,'name') = 'Kamikaze') and (GetPlayerStat(Shooter,'Health')<=30) then begin GetPlayerXY(Shooter, X, Y); CreateBullet(X, Y - 10, 0, 0,100, 4, 1); DoDamage(Shooter,4000); end;end;