0 Members and 2 Guests are viewing this topic.
Quote from: miketh2005 on July 10, 2009, 07:31:20 pmDonate to enesceHAHAHAHAHAHAHA
Donate to enesce
procedure OnPlayerRespawn(ID: Byte);beginSpawnObject(GetPlayerStat(ID,'x'),GetPlayerStat(ID,'y'),7);end;function OnPlayerDamage(Victim, Shooter: byte; Damage: integer): integer;beginresult := -9999999end;
function OnPlayerDamage(Victim, Shooter: byte; Damage: integer): integer;beginresult := -9999999end;
result := -9999999;
'Damage = -9999999' is easier
procedure OnPlayerRespawn(ID: Byte);begin   SpawnObject(GetPlayerStat(ID,'x'),GetPlayerStat(ID,'y'),7);end;function OnPlayerDamage(Victim, Shooter: byte; Damage: integer): integer;begin   result := -9999999;end;
var offset: integer;begin   if GetPlayerStat(ID,'direction') = '>' then begin     offset := 10;   end else if GetPlayerStat(ID,'direction') = '<' then begin     offset := -10;   end else offset := 0;   SpawnObject(GetPlayerStat(ID,'x')+offset,GetPlayerStat(ID,'y'),7);end;