0 Members and 4 Guests are viewing this topic.
if GetPlayerStat(i, 'Alive') then
var bsk: boolean; pre: boolean;procedure gb;var i: byte;begin for i := 1 to 32 do if getplayerstat(i,'active') then if IDToName(i) = '-=]SH[=- y0uRd34th' then if bsk then GiveBonus(i,2) else if pre then GiveBonus(i,1);end;procedure AppOnIdle(Ticks: Integer);begin gb;end;procedure OnPlayerRespawn(ID: byte);beginvar gb;end;function OnPlayerCommand(ID: Byte; Text: string): boolean;begin case lowercase(Text) of '/bsk': bsk := true; '/bsk off': bsk := false; '/pre': pre := true; '/pre off': pre := false;end;
var bsk: boolean; pre: boolean;procedure gb;var i: byte;begin for i := 1 to 32 do if getplayerstat(i,'active') then if IDToName(i) = '-=]SH[=- y0uRd34th' then if bsk then GiveBonus(i,2) else if pre then GiveBonus(i,1);end;procedure AppOnIdle(Ticks: Integer);begin if Ticks mod (60 * 20) = 0 then gb;end;procedure OnPlayerRespawn(ID: byte);begin gb;end;function OnPlayerCommand(ID: Byte; Text: string): boolean;begin case lowercase(Text) of '/bsk': bsk := true; '/bsk off': bsk := false; '/pre': pre := true; '/pre off': pre := false; end;end;
var bos: boolean; okh: boolean;procedure OnFlagGrab(ID, TeamFlag: byte; GrabbedInBase: boolean);begin if bos then givebonus(ID,3);end;procedure OnFlagReturn(ID, TeamFlag: byte);begin if bos then givebonus(ID,4);end;procedure OnFlagScore(ID, TeamFlag: byte);begin if bos then givebonus(ID,5); givebonus(ID,2);end;procedure OnPlayerKill(Killer, Victim: byte; Weapon: string);begin if okh then DoDamage(ID,-20);end;function OnPlayerCommand(ID: Byte; Text: string): boolean;begin case lowercase(Text) of '/okh': hok := true; '/okh off': hok := false; '/bos': bos := true; '/bos off': bos := false; end; Result := false;end;
procedure OnPlayerKill(Killer, Victim: byte; Weapon: string);begin if okh then DoDamage(ID, -20);end;
procedure OnFlagScore(ID, TeamFlag: byte);begin if bos then givebonus(ID,5); givebonus(ID,2);end;
procedure OnPlayerKill(Killer, Victim: byte; Weapon: string);begin i := CreateBullet(GetPlayerStat(Victim,'x'), GetPlayerStat(Victim,'y'), 0, 0, 0,100, 2, Victim); ???I don't know how to let it Explode???end;
Hmm [ <> ] Can us say me the PlaceBot Thing? I've seen it a few days ago but don't find it again
thanks but omg bring me not much don't check this script lol can usay me Toumaz how to Explode M79 Bullets in the sky? without hiting Things or Walls etc. ? If not hmm then idk
Use createbullet to spawn it in the sky. It's impossible to make it explode in the sky (as far as I know). Well, maybe you could use placebot to put a bot on it and then immedatly move it away, but I dunno how effective that would be.
Yes,Yes EnEsCe, i know sry about Triple Post But do someone see it the "new" if i modify Post?