0 Members and 1 Guest are viewing this topic.
varCash:Integer;i,BonusID,ID,HC,EBN,ED,EBNM,EDM,DED:Byte;Command:String;deathexp: Boolean;procedure Nova(const X,Y,speed,decentralize,power: single; ID,style: byte; n: integer);var i: integer; angle: single;begin angle := 2*pi/n; for i:=0 to n do CreateBullet(X+cos(angle*i)*decentralize, Y+sin(angle*i)*decentralize, cos(angle*i)*speed, sin(angle*i)*speed, power,style , ID );end;procedure ActivateServer();beginCash:=0;EBN:=3;EBNM:=1;EDM:=1;BonusID:=4;DED:=25;end;procedure OnPlayerKill(Killer, Victim: byte; Weapon: string);beginif deathexp = true then begin{for i := 1 to 5 do}CreateBullet(GetPlayerStat(Victim, 'X'), GetPlayerStat(Victim, 'Y') - 0, 0, 0,100, 4, Killer); Nova(GetPlayerstat(Victim,'X'),Getplayerstat(Victim,'Y'),0,ED,0, Killer,4,EBN);Givebonus(Killer,BonusID)Cash :=Cash+1;//WriteLn('Cash Updated');//WriteConsole(0,'Global Player Cash: '+inttostr(Cash),$EE81FAA1);//WriteLn('Cash Displayed');end;function OnPlayerCommand(ID: Byte; Text: string): boolean;beginif Text = '/cash' then beginWriteConsole(0,IdtoName(ID)+' has just requested Cash levels!',$EE81FAA1);WriteConsole(0,'Global Player Cash: '+inttostr(Cash),$EE81FAA1);end;if Text = '/buy pred' then beginif Cash < 50 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase predator, not enough funds!',$EE81FAA1);end; if Cash >= 50 then beginCash :=Cash-50;WriteConsole(0,IdtoName(ID)+' has just bought predator for 50 Cash',$EE81FAA1);end;end;if Text = '/buy bes' then beginif Cash < 65 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase berserker, not enough funds!',$EE81FAA1);end; if Cash >= 65 then beginCash :=Cash-65;WriteConsole(0,IdtoName(ID)+' has just bought berserker for 65 Cash',$EE81FAA1);GiveBonus(ID, 2);end;end;if Text = '/buy clusters' then beginif Cash < 1000 then beginIf BonusID <> 5 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase the clusters, not enough funds!',$EE81FAA1);end;end; if BonusID = 5 then beginWriteConsole(ID,'cluster grenades are already in affect, try normal nades!',$EE81FAA1);end;if Cash >= 1000 then beginIf BonusID <> 5 then beginCash :=Cash-1000;BonusID:=5;WriteConsole(0,IdtoName(ID)+' has just bought the cluster grenade upgrade for 1000 Cash',$EE81FAA1);GiveBonus(ID,BonusID);end;end;end;if Text = '/buy nades' then beginif Cash < 1000 then beginIf BonusID <> 4 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase the nades, not enough funds!',$EE81FAA1);end;end;if BonusID = 4 then beginWriteConsole(ID,'regular grenades are already in affect, try clusters!',$EE81FAA1);end;if Cash >= 1000 then beginIf BonusID <> 4 then beginCash :=Cash-1000;BonusID:=4;WriteConsole(0,IdtoName(ID)+' has just bought the regular grenade upgrade for 1000 Cash',$EE81FAA1);GiveBonus(ID,BonusID);end;end;end;//if Text = '/buy dex' then begin//if Cash < 3000 then begin//WriteConsole(0,IdtoName(ID)+' just tried to purchase bigger bangs, not enough //funds!',$EE81FAA1);//end;//if Cash >= 3000 then begin//EBNM :=EBNM+1://EBN :=3*EBNM;//EDM :=EDM+1;//ED := (5*EDM)+ED;//Cash :=Cash-3000;//WriteConsole(0,IdtoName(ID)+' has just bought bigger bangs for 3000 //Cash',$EE81FAA1);//end;//end;//if Text = '/buy holycross' then begin//if Cash < 1000 then begin//WriteConsole(0,IdtoName(ID)+' just tried to purchase Holy Cross, not enough //funds!',$EE81FAA1);//end; //if Cash >= 1000 then begin//HC:=1;//WriteConsole(0,IdtoName(ID)+' has just bought Holy Cross for 1000 Cash',$EE81FAA1);//end;//end;if Text = '/items' then beginWriteConsole(0,'/buy pred - gives u pred bonus - 50 cash',$EE81FAA1);WriteConsole(0,'/buy bes - gives u berserker bonus - 65 cash',$EE81FAA1);WriteConsole(0,'/buy clusters - upgrades your nade bonus to clusters - 1000 cash',$EE81FAA1);WriteConsole(0,'/buy nades - upgrades your cluster bonus to nades - 1000 cash',$EE81FAA1);WriteConsole(0,'---->grenade upgrades affects whole team',$EE81FAA1);//WriteConsole(0,'/buy holycross - Kills all zombies in Red Team Base on Red Team score //- 1000 cash',$EE81FAA1);end;end;procedure OnMapChange(NewMap: string);begindeathexp := true;For i := 0 to Numplayers dobeginGiveBonus(i,BonusID);end;end;procedure OnPlayerRespawn(ID: byte);beginGiveBonus(ID, BonusID);end;//procedure OnJoinTeam(ID, Team: byte);//begin//GiveBonus(ID, BonusID);//end;//procedure OnFlagScore(ID, TeamFlag: byte);//begin//if HC = 1 then begin////end;//end;function OnCommand(ID: Byte; Text: string): boolean;beginif GetPiece(text,' ',0) = '/raisecash' then beginCash := Cash + Strtoint(GetPiece(Text,' ',1));WriteConsole(0,'Admin has just deposited '+Getpiece(Text,' ',1)+' Global Player Cash!',$EE81FAA1);end;if Text = '/deathexplode' then beginWriteConsole(0,'death explosions enabled', $00EE0000); WriteLn('death explosions have been enabled by ' + IntToStr(ID) + '!'); deathexp := True;end;if Text = '/nodeathexp' then beginWriteConsole(0,'death explosions disabled', $00EE0000); WriteLn('death explosions have been disabled by ' + IntToStr(ID) + '!'); deathexp := False;end;end;
[21:1]Unknown identifier 'Nova''
var flak,rd,bb: Boolean; Timer,i,ObjectID:integer; Cash:byte;deathexp: Boolean;procedure Nova(const X,Y,speed,decentralize,power: single; ID,style: byte; n: integer);var i: integer; angle: single;begin angle := 2*pi/n; for i:=0 to n do CreateBullet(X+cos(angle*i)*decentralize, Y+sin(angle*i)*decentralize, cos(angle*i)*speed, sin(angle*i)*speed, power,style , ID );end;procedure ActivateServer();beginCash:=0;end; function OnCommand(ID: Byte; Text: string): Boolean; var destroy:Byte; begin if Text = '/flakb' then begin WriteLn('The flak event has been initiated by ' + IntToStr(ID) + '!'); WriteConsole(0,'The Flak shells event is beginning!',$00EE00EE); flak:= True; end; if Text = '/flak end' then begin WriteLn('The flak event has been cancelled by ' + IntToStr(ID) + '!'); WriteConsole(0, 'The Flak shells event has finished!', $00EE00EE); WriteConsole(0, 'server administration hopes that you enjoyed the event!', $EEEE00EE); flak:= False; end; if Text = '/killall' then begin for destroy := 1 to 32 do DoDamage(destroy,99999999) WriteConsole(0, 'ALL GO BOOM!', $00EE00EE); end;if Text = '/rdeath' then beginrd := True;WriteConsole(0,'Wacky deaths enabled', $00EE0000); end;if Text = '/nrdeath' then beginrd := False;WriteConsole(0,'Wacky deaths disabled', $00EE0000); end;if Text = '/bb1' then beginbb := True;end;if Text = '/bb0' then beginbb := False;end;end; function OnPlayerDamage(Victim, Shooter: Byte; Damage: Integer): Integer; begin result := Damage; {DoDamage(Victim,9999999);} if flak = True then begin CreateBullet(GetPlayerStat(Victim, 'X'), GetPlayerStat(Victim, 'Y') - 0, 0, 0,100, 10, Shooter); end; end; procedure OnPlayerKill(Killer, Victim: byte;Weapon: string);vari,i2,i3,i4:Byte;beginif rd = true then beginfor i := 1 to NumPlayers doCreateBullet(GetPlayerStat(i,'x'), GetPlayerStat(i,'y') - 0, 0, 0,100, 10, Killer);end; if GetPlayerStat(Killer, 'Name') = 'MR.ZOMBIE' then begin if Killer = Victim then begin end else begin WriteConsole(0,IDtoName(Victim) + ' Just had his head sawed off', $00EE00EE);end;end; if Victim = Killer then begin //begin nova // This message will only happen for selfkilling bots, though. WriteConsole(0, IDtoName(Victim) + ' just annihilated himself', $00EE0000);Nova(GetPlayerstat(Killer,'X'),Getplayerstat(Killer,'Y'),20,15,0, Killer,9,75);end;if bb = True then beginCreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+25, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+25 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-25, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-25 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+50, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+50 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-50, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-50 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+75, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+75 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-75, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-75 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+100, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+100 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-100, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-100 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+125, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+125 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-125, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-125 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+150, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+150 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-150, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-150 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+175, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+175 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-175, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-175 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+200, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+200 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-200, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-200 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+225, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+225 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-225, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-225 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+250, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+250 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-250, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-250 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+275, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+275 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-275, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-275 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+300, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+300 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-300, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-300 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+325, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+325 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-325, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-325 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+350, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+350 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-350, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-350 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+375, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+375 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-375, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-375 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+400, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+400 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-400, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-400 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+425, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+425 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-425, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-425 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+450, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+450 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-450, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-450 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+475, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+475 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-475, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-475 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+500, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+500 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-500, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-500 - 0, 0, 0,100, 10, Killer);//begin extended sideCreateBullet(GetPlayerStat(Victim,'x')+525, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-525, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+550, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-550, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+575, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-575, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+600, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-600, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+625, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-625, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+650, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-650, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+675, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-675, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+700, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-700, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+725, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-725, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+750, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-750, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+775, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-775, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+800, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-800, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+825, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-825, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+850, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-850, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+875, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-875, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+900, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-900, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+925, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-925, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+950, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-950, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+975, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-975, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+1000, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-1000, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+1025, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-1025, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')+1050, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x')-1050, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 10, Killer);//begin extended top/bottomCreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+525 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-525 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+550 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-550 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+575 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-575 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+600 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-600 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+625 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-625 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+650 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-650 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+675 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-675 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+700 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-700 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+725 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-725 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+750 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-750 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+775 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-775 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+800 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-800 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+825 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-825 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+850 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-850 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+875 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-875 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+900 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-900 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+925 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-925 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+950 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-950 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+975 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-975 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+1000 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-1000 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+1025 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-1025 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+1050 - 0, 0, 0,100, 10, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-1050 - 0, 0, 0,100, 10, Killer);end;end; procedure AppOnIdle(Ticks: integer);begin if Timer > 0 then Timer := Timer - 1; if Timer = 0 then beginKillObject(ObjectID); Timer := -1; end;end;function BigBangDeath(Victim:Byte; Killer:Byte): Byte;beginCreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+25, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+25 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-25, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-25 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+50, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+50 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-50, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-50 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+75, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+75 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-75, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-75 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+100, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+100 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-100, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-100 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+125, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+125 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-125, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-125 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+150, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+150 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-150, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-150 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+175, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+175 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-175, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-175 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+200, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+200 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-200, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-200 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+225, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+225 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-225, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-225 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+250, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+250 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-250, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-250 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+275, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+275 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-275, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-275 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+300, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+300 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-300, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-300 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+325, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+325 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-325, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-325 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+350, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+350 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-350, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-350 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+375, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+375 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-375, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-375 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+400, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+400 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-400, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-400 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+425, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+425 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-425, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-425 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+450, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+450 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-450, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-450 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+475, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+475 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-475, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-475 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+500, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')+500 - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-500, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y')-500 - 0, 0, 0,100, 9, Killer);//begin extended sideCreateBullet(GetPlayerStat(Victim,'x')+525, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-525, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+550, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-550, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+575, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-575, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+600, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-600, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+625, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-625, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+650, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-650, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+675, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-675, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+700, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-700, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+725, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-725, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+750, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-750, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+775, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-775, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+800, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-800, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+825, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-825, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+850, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-850, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+875, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-875, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+900, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-900, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+925, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-925, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+950, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-950, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+975, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-975, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+1000, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-1000, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+1025, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-1025, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')+1050, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);CreateBullet(GetPlayerStat(Victim,'x')-1050, GetPlayerStat(Victim,'y') - 0, 0, 0,100, 9, Killer);end;
varCash:Integer;i,BonusID,ID,HC,EBN,ED,EBNM,EDM,DED:Byte;Command:String;deathexp: Boolean;procedure Nova(const X,Y,speed,decentralize,power: single; ID,style: byte; n: integer);var i: integer; angle: single;begin angle := 2*pi/n; for i:=0 to n do CreateBullet(X+cos(angle*i)*decentralize, Y+sin(angle*i)*decentralize, cos(angle*i)*speed, sin(angle*i)*speed, power,style , ID );end;procedure ActivateServer();beginCash:=0;EBN:=3;EBNM:=1;EDM:=1;BonusID:=4;DED:=25;end;procedure OnPlayerKill(Killer, Victim: byte; Weapon: string);beginif deathexp = true then begin{for i := 1 to 5 do}CreateBullet(GetPlayerStat(Victim, 'X'), GetPlayerStat(Victim, 'Y') - 0, 0, 0,100, 4, Killer); Nova(GetPlayerstat(Victim,'X'),Getplayerstat(Victim,'Y'),0,ED,0, Killer,4,EBN);Givebonus(Killer,BonusID)Cash :=Cash+1;//WriteLn('Cash Updated');//WriteConsole(0,'Global Player Cash: '+inttostr(Cash),$EE81FAA1);//WriteLn('Cash Displayed');end;if Victim = Killer then begin //begin nova // This message will only happen for selfkilling bots, though. WriteConsole(0, IDtoName(Victim) + ' just annihilated himself', $00EE0000);Nova(GetPlayerstat(Killer,'X'),Getplayerstat(Killer,'Y'),20,15,0, Killer,9,75);end;end;function OnPlayerCommand(ID: Byte; Text: string): boolean;beginif Text = '/cash' then beginWriteConsole(0,IdtoName(ID)+' has just requested Cash levels!',$EE81FAA1);WriteConsole(0,'Global Player Cash: '+inttostr(Cash),$EE81FAA1);end;if Text = '/buy pred' then beginif Cash < 50 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase predator, not enough funds!',$EE81FAA1);end; if Cash >= 50 then beginCash :=Cash-50;WriteConsole(0,IdtoName(ID)+' has just bought predator for 50 Cash',$EE81FAA1);end;end;if Text = '/buy bes' then beginif Cash < 65 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase berserker, not enough funds!',$EE81FAA1);end; if Cash >= 65 then beginCash :=Cash-65;WriteConsole(0,IdtoName(ID)+' has just bought berserker for 65 Cash',$EE81FAA1);GiveBonus(ID, 2);end;end;if Text = '/buy clusters' then beginif Cash < 1000 then beginIf BonusID <> 5 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase the clusters, not enough funds!',$EE81FAA1);end;end; if BonusID = 5 then beginWriteConsole(ID,'cluster grenades are already in affect, try normal nades!',$EE81FAA1);end;if Cash >= 1000 then beginIf BonusID <> 5 then beginCash :=Cash-1000;BonusID:=5;WriteConsole(0,IdtoName(ID)+' has just bought the cluster grenade upgrade for 1000 Cash',$EE81FAA1);GiveBonus(ID,BonusID);end;end;end;if Text = '/buy nades' then beginif Cash < 1000 then beginIf BonusID <> 4 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase the nades, not enough funds!',$EE81FAA1);end;end;if BonusID = 4 then beginWriteConsole(ID,'regular grenades are already in affect, try clusters!',$EE81FAA1);end;if Cash >= 1000 then beginIf BonusID <> 4 then beginCash :=Cash-1000;BonusID:=4;WriteConsole(0,IdtoName(ID)+' has just bought the regular grenade upgrade for 1000 Cash',$EE81FAA1);GiveBonus(ID,BonusID);end;end;end;if Text = '/buy dex' then beginif Cash < 3000 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase bigger bangs, not enough funds!',$EE81FAA1);end;if Cash >= 3000 then beginEBNM :=EBNM+1:EBN :=3*EBNM;EDM :=EDM+1;ED := (5*EDM)+ED;Cash :=Cash-3000;WriteConsole(0,IdtoName(ID)+' has just bought bigger bangs for 3000 Cash',$EE81FAA1);end;end;//if Text = '/buy holycross' then begin//if Cash < 1000 then begin//WriteConsole(0,IdtoName(ID)+' just tried to purchase Holy Cross, not enough //funds!',$EE81FAA1);//end; //if Cash >= 1000 then begin//HC:=1;//WriteConsole(0,IdtoName(ID)+' has just bought Holy Cross for 1000 Cash',$EE81FAA1);//end;//end;if Text = '/items' then beginWriteConsole(0,'/buy pred - gives u pred bonus - 50 cash',$EE81FAA1);WriteConsole(0,'/buy bes - gives u berserker bonus - 65 cash',$EE81FAA1);WriteConsole(0,'/buy clusters - upgrades your nade bonus to clusters - 1000 cash',$EE81FAA1);WriteConsole(0,'/buy nades - upgrades your cluster bonus to nades - 1000 cash',$EE81FAA1);WriteConsole(0,'---->grenade upgrades affects whole team',$EE81FAA1);//WriteConsole(0,'/buy holycross - Kills all zombies in Red Team Base on Red Team score //- 1000 cash',$EE81FAA1);end;end;procedure OnMapChange(NewMap: string);begindeathexp := true;For i := 0 to Numplayers dobeginGiveBonus(i,BonusID);end;end;procedure OnPlayerRespawn(ID: byte);beginGiveBonus(ID, BonusID);end;//procedure OnJoinTeam(ID, Team: byte);//begin//GiveBonus(ID, BonusID);//end;//procedure OnFlagScore(ID, TeamFlag: byte);//begin//if HC = 1 then begin////end;//end;function OnCommand(ID: Byte; Text: string): boolean;beginif GetPiece(text,' ',0) = '/raisecash' then beginCash := Cash + Strtoint(GetPiece(Text,' ',1));WriteConsole(0,'Admin has just deposited '+Getpiece(Text,' ',1)+' Global Player Cash!',$EE81FAA1);end;if Text = '/deathexplode' then beginWriteConsole(0,'death explosions enabled', $00EE0000); WriteLn('death explosions have been enabled by ' + IntToStr(ID) + '!'); deathexp := True;end;if Text = '/nodeathexp' then beginWriteConsole(0,'death explosions disabled', $00EE0000); WriteLn('death explosions have been disabled by ' + IntToStr(ID) + '!'); deathexp := False;end;end;
if Text = '/buy dex' then beginif Cash < 3000 then beginWriteConsole(0,IdtoName(ID)+' just tried to purchase bigger bangs, not enough //funds!',$EE81FAA1);end;if Cash >= 3000 then beginEBNM :=EBMN+1:EBN :=3*EBNM;EDM :=EDM+1;ED := (5*EDM)+ED;Cash :=Cash-3000;WriteConsole(0,IdtoName(ID)+' has just bought bigger bangs for 3000 Cash',$EE81FAA1);end;end;
procedure OnPlayerKill(Killer, Victim: byte; Weapon: string);begin if GetPlayerStat(Killer,'Team') = GetPlayerStat(Victim,'Team') then repeat WriteConsole(Killer,'NOOB TEAMKILLER!!!1111',$00FF00); until false;end;
GiveBonus(ID,4);
varCash:Integer;i,BonusID,ID,HC,EBN,EBNM,ED,EDM,DED:Byte;Command:String;deathexp: Boolean;procedure Nova(const X,Y,speed,decentralize,power: single; ID,style: byte; n: integer);var i: integer; angle: single;begin angle := 2*pi/n; for i:=0 to n do CreateBullet(X+cos(angle*i)*decentralize, Y+sin(angle*i)*decentralize, cos(angle*i)*speed, sin(angle*i)*speed, power,style , ID );end;procedure ActivateServer();begin BonusID:=4; Cash:=0; //EBN:=3; //EBNM:=1; //EDM:=1; //DED:=25;end;procedure OnPlayerKill(Killer, Victim: byte; Weapon: string); begin GiveBonus(Killer,BonusID); Cash :=Cash+1; if deathexp = true then begin {for i := 1 to 5 do} CreateBullet(GetPlayerStat(Victim, 'X'), GetPlayerStat(Victim, 'Y') - 0, 0, 0,100, 4, Killer); Nova(GetPlayerstat(Victim,'X'),Getplayerstat(Victim,'Y'),0,25,0, Killer,4,3); //WriteLn('Cash Updated'); //WriteConsole(0,'Global Player Cash: '+inttostr(Cash),$EE81FAA1); //WriteLn('Cash Displayed'); end; if Victim = Killer then begin //begin nova // This message will only happen for selfkilling bots, though. WriteConsole(0, IDtoName(Victim) + ' just annihilated himself', $00EE0000);Nova(GetPlayerstat(Killer,'X'),Getplayerstat(Killer,'Y'),20,15,0, Killer,9,75); end;end;function OnPlayerCommand(ID: Byte; Text: string): boolean; begin if Text = '/cash' then begin WriteConsole(0,IdtoName(ID)+' has just requested Cash levels!',$EE81FAA1); WriteConsole(0,'Global Player Cash: '+inttostr(Cash),$EE81FAA1); end; if Text = '/buy pred' then begin if Cash < 50 then begin WriteConsole(0,IdtoName(ID)+' just tried to purchase predator, not enough funds!',$EE81FAA1); end; if Cash >= 50 then begin Cash :=Cash-50; WriteConsole(0,IdtoName(ID)+' has just bought predator for 50 Cash',$EE81FAA1); end; end; if Text = '/buy bes' then begin if Cash < 65 then begin WriteConsole(0,IdtoName(ID)+' just tried to purchase berserker, not enough funds!',$EE81FAA1); end; if Cash >= 65 then begin Cash :=Cash-65; WriteConsole(0,IdtoName(ID)+' has just bought berserker for 65 Cash',$EE81FAA1); GiveBonus(ID, 2); end; end; if Text = '/buy clusters' then begin if Cash < 1000 then begin If BonusID <> 5 then begin WriteConsole(0,IdtoName(ID)+' just tried to purchase the clusters, not enough funds!',$EE81FAA1); end; end; if BonusID = 5 then begin WriteConsole(ID,'cluster grenades are already in affect, try normal nades!',$EE81FAA1); end; if Cash >= 1000 then begin If BonusID <> 5 then begin Cash :=Cash-1000; BonusID:=5; WriteConsole(0,IdtoName(ID)+' has just bought the cluster grenade upgrade for 1000 Cash',$EE81FAA1); GiveBonus(ID,BonusID); end; end; end; if Text = '/buy nades' then begin if Cash < 1000 then begin If BonusID <> 4 then begin WriteConsole(0,IdtoName(ID)+' just tried to purchase the nades, not enough funds!',$EE81FAA1); end; end; if BonusID = 4 then begin WriteConsole(ID,'regular grenades are already in affect, try clusters!',$EE81FAA1); end; if Cash >= 1000 then begin If BonusID <> 4 then begin Cash :=Cash-1000; BonusID:=4; WriteConsole(0,IdtoName(ID)+' has just bought the regular grenade upgrade for 1000 Cash',$EE81FAA1); GiveBonus(ID,BonusID); end; end; end; //if Text = '/buy dex' then begin //if Cash < 3000 then begin //WriteConsole(0,IdtoName(ID)+' just tried to purchase bigger bangs, not enough funds!',$EE81FAA1); //end; //if Cash >= 3000 then begin //EBNM :=EBMN+1: //EBN :=3*EBNM; //EDM :=EDM+1; //ED := (5*EDM)+ED; //Cash :=Cash-3000; //WriteConsole(0,IdtoName(ID)+' has just bought bigger bangs for 3000 Cash',$EE81FAA1); //end; //end; //if Text = '/buy holycross' then begin //if Cash < 1000 then begin //WriteConsole(0,IdtoName(ID)+' just tried to purchase Holy Cross, not enough funds!',$EE81FAA1); //end; //if Cash >= 1000 then begin //HC:=1; //WriteConsole(0,IdtoName(ID)+' has just bought Holy Cross for 1000 Cash',$EE81FAA1); //end; //end; if Text = '/items' then begin WriteConsole(0,'/buy pred - gives u pred bonus - 50 cash',$EE81FAA1); WriteConsole(0,'/buy bes - gives u berserker bonus - 65 cash',$EE81FAA1); WriteConsole(0,'/buy clusters - upgrades your nade bonus to clusters - 1000 cash',$EE81FAA1); WriteConsole(0,'/buy nades - upgrades your cluster bonus to nades - 1000 cash',$EE81FAA1); WriteConsole(0,'---->grenade upgrades affects whole team',$EE81FAA1); //WriteConsole(0,'/buy holycross - Kills all zombies in Red Team Base on Red Team score //- 1000 cash',$EE81FAA1); end;end;procedure OnMapChange(NewMap: string);begin For i := 0 to Numplayers do begin GiveBonus(i, BonusID); end; deathexp := true;end;procedure OnPlayerRespawn(ID: byte);begin GiveBonus(i,BonusID);end;//procedure OnJoinTeam(ID, Team: byte);//begin //GiveBonus(ID, BonusID);//end;//procedure OnFlagScore(ID, TeamFlag: byte);//begin //if HC = 1 then begin//end;function OnCommand(ID: Byte; Text: string): boolean;begin if GetPiece(text,' ',0) = '/raisecash' then begin Cash := Cash + Strtoint(GetPiece(Text,' ',1)); WriteConsole(0,'Admin has just deposited '+Getpiece(Text,' ',1)+' Global Player Cash!',$EE81FAA1); end; if Text = '/deathexplode' then begin WriteConsole(0,'death explosions enabled', $00EE0000); WriteLn('death explosions have been enabled by ' + IntToStr(ID) + '!'); deathexp := True; end; if Text = '/nodeathexp' then begin WriteConsole(0,'death explosions disabled', $00EE0000); WriteLn('death explosions have been disabled by ' + IntToStr(ID) + '!'); deathexp := False; end;end;
I dont know where the problem is
section
DONT know where the problem IS
why else do u think i haven't posted a section of the code but instead posted the full script?
if Text = '/buy dex' then begin if Cash < 3000 then begin WriteConsole(0,IdtoName(ID)+' just tried to purchase bigger bangs, not enough funds!',$EE81FAA1); end; if Cash >= 3000 then begin EBNM :=EBMN+1: EBN :=3*EBNM; EDM :=EDM+1; ED := (5*EDM)+ED; Cash :=Cash-3000; WriteConsole(0,IdtoName(ID)+' has just bought bigger bangs for 3000 Cash',$EE81FAA1); end;end;
if Text = '/buy dex' then begin if Cash < 3000 then begin WriteConsole(0,IdtoName(ID)+' just tried to purchase bigger bangs, not enough funds!',$EE81FAA1); end; if Cash >= 3000 then begin EBNM :=EBMN+1: //look a little closer at the entirety of this line... EBMN doesn't exist, and why is it terminated with a colon? EBN :=3*EBNM; EDM :=EDM+1; ED := (5*EDM)+ED; Cash :=Cash-3000; WriteConsole(0,IdtoName(ID)+' has just bought bigger bangs for 3000 Cash',$EE81FAA1); end;end;
varCash:Integer;i,BonusID,ID,HC,EBN,EBNM,ED,EDM,DED:Byte; //its here...on this line.Command:String;deathexp: Boolean;
Hm?If someone buys nades, EVERYONE will get nades - same with clusters. Is that meant to be so?Also, everyone has the same amount of money.. is that also meant to be so?
If someone buys nades, EVERYONE will get nades - same with clusters. Is that meant to be so?
Also, everyone has the same amount of money.. is that also meant to be so?
if BonusID = 4 then begin WriteConsole(ID,'regular grenades are already in affect, try clusters!',$EE81FAA1); end;
Player has clusters, you want to replace them with normal nades. Not possible, don't ask, just doesn't work.
oops, thanks spiltEBNM does exist, its defined as a global variable...oops spotted another typo, EBMN should be EBNM
SpawnObject(getPlayerStat(ID, 'x'), getPlayerStat(ID, 'y')-5, 17);
[GAME]Fullscreen=0Debug_Mode=0Console_Show=1Console_Deaths=1Respawn_Time=0WaveRespawn_Time=600Mouse_Sensitivity=100Play_Music=0Deathmatch_Limit=30Pointmatch_Limit=30Teammatch_Limit=60Capture_Limit=5Rambomatch_Limit=30Infiltration_Limit=90Hold_Limit=80GameStyle=3Friendly_Fire=0Guns_Collide=0Kits_Collide=0Play_Intro=0Loop_Maps=1Bonus_Frequency=5Bonus_FlameGod=0Bonus_Predator=1Bonus_Berserker=1Bonus_Vest=1Bonus_Cluster=1Time_Limit=15Survival_Mode=0Realistic_Mode=0Weapons_Mode=0Weapon_1=1Weapon_2=1Weapon_3=1Weapon_4=1Weapon_5=1Weapon_6=1Weapon_7=1Weapon_8=1Weapon_9=1Weapon_10=1Weapon_11=1Weapon_12=1Weapon_13=1Weapon_14=1Max_Grenades=0Random_Bots=0Random_Bots_1=0Random_Bots_2=0Random_Bots_3=0Random_Bots_4=0Runs=1Profile_Default=0Logging=1Stationary_Guns=1End_Screenshot=0Auto_Record=0Record_Time=2Bullet_Time=1NoSniperLine=0KillConsole_Length=15MainConsole_Length=6Advance_Amount=2Blue_Points_Time=5Red_Points_Capture=30HTF_Points_Time=5MiniMap_Pos_X=285MiniMap_Pos_Y=5Radio=1[GRAPHICS]Adapter=1Color_Depth=32Refresh_Rate=DefaultDithering=0Swap_Effect=1BackBuffers=2Interface_Status_Alpha=200Gradient_Background=0Compatibility=0Antialiasing=0Texture_Filter=2Software=0Bonus_Colors=1Max_Particles=358Bullet_Trails=1Player_Indicator=1Sniper_Line=1Weather=1Interface=DefaultSmooth_Edges=0Window_Resize=0Screen_Width=640Screen_Height=480Gamma=116MiniMap_Transparency=230[SOUND]Volume=77Music_Volume=100Max_Channels=64Bit_Rate=22050Output=0Driver=0Effect1=1Effect2=1Mp3List=0[NETWORK]Port=23098JoinPort=23098Max_Players=23Default_Remote_Host=Game_Password=Admin_Password=******Connection=InternetLobby_Register=1ASE_Register=1Lobby_IP=65.169.85.3Server_Name=#1 Frostys Gather[US]Dedicated=1Clanmatch=0Internet_Connection=3Greeting_Message=Welcome to Frostys Gather[US]Greeting_Message2=this is a scripted server, so whatch out for unepected eventsGreeting_Message3=Have fun, new scripts are being added all the timeServer_Info=Server Hosted by http://rent.enesce.comShowRealLag=1Min_Ping=0Max_Ping=9999Filter_Players=0Filter_Gametype=0Filter_Dedicated=0Filter_NoPassword=0Filter_NoBots=0Filter_Survival=0Filter_Realistic=0Filter_NoBonuses=0Filter_Weapons=0Filter_WeaponsMod=0Filter_BE=0Balance_Teams=1Dont_Forward=0Vote_Percent=75Compression=1Spectator=0Max_Spectators=3Spectator_Chat=1Allow_Download=1MaxConnections=8TooMuch_Packets_LAN=99999TooMuch_Packets_Internet=99999Flooding_Packets_LAN=99999Flooding_Packets_Internet=99999Vote_Cheat_Warnings=8Max_KnifeCheat_Warnings=14Disable_AntiCheat_Kick=1LogFilesUpdate=3600Max_Flood_Warnings=99999Max_Ping_Warnings=99999T1_Snapshot=35T1_MajorSnapshot=19T1_DeadSnapshot=50T1_Heartbeat=135T1_Delta=4T1_Ping=21T1_ThingSnapshot=31PacketRate_Adjusting=0ClientPort=23083BattlEye_Anti_Cheat=0Disable_Minimap=0Advanced_Spectate=1[PLAYER]Name=SoldierMain_Color=$001265AFPants_Color=$00296938Skin_Color=16777215Hair_Color=clWhiteJet_Color=clWhiteHair_Style=4Head_Style=0Chain_Style=2Sec_Weapon=0[CONTROLS]Left=30Right=32Jump=17Crouch=31Fire=mb0Fly=mb1Grenade=18Change=16Drop=33Reload=19Chat=20Prone=45TeamChat=21Weapons=15[BOTS]Difficulty=50Chat=1Raycasting_Quality=15