0 Members and 1 Guest are viewing this topic.
Procedure Kamikaze(ID: byte);var X, Y: single; begin GetPlayerXY(ID, X, Y) CreateBullet(X, Y - 10, 0, 0,100, 4, 1); CreateBullet(X, Y - 10, 1, 1,100, 4, 1); CreateBullet(X, Y - 10, 2, 2,100, 4, 1); DoDamage(ID,4000); WriteConsole(0,Getplayerstat(ID,'name')+' has been blowed up !',color); end;
function OnCommand(ID: Byte; Text: string): boolean;begin for i:= 1 to 32 do if GetPlayerStat(i,'Human') then begin if Text = '/bomball' then begin WriteLn('*You explode all human in your server !*'); Kamikaze(i); end; end; end;
Code: [Select]function OnCommand(ID: Byte; Text: string): boolean;begin for i:= 1 to 32 do if GetPlayerStat(i,'Human') then begin if Text = '/bomball' then begin WriteLn('*You explode all human in your server !*'); Kamikaze(i); end; end; end;
function OnCommand(ID: Byte; Text: string): boolean;var i: integer;beginif Text = '/bomball' then begin for i:= 1 to 32 do if GetPlayerStat(i,'Human') then beginKamikaze(i);WriteLn('*You explode all human in your server !*');end; end;Result := false; end;
And as the lyrics go in the United State's national anthem: "America, f**k YEAH!".