0 Members and 1 Guest are viewing this topic.
Impossible, its hardcoded.
var rfs,bfs: boolean;procedure OnMapChange(NewMap: String);beginrfs := true;bfs := true;endprocedure OnFlagGrab(ID, TeamFlag: byte;GrabbedInBase: boolean);begincase teamflag of 1: rfs := false; 2: bfs := false; end;end;procedure OnFlagReturn(ID, TeamFlag: byte);begincase teamflag of 1: rfs := true; 2: bfs := true; end;end;procedure OnFlagScore(ID, TeamFlag: byte);begincase teamflag of 1: rfs := true; 2: bfs := true; end;end;
It may be possible to kill (when the custom pred timer runs out), and attempt to respawn the player with /setteam (not 100% certain if it respawns or not) at the location he died, or MovePlayer`ing him; this probably wouldn't seem very smooth though.
But that will look very unsmooth.
are you serious? You mean killing a player IS smooth?!
well, it can be dis/enabled by TAB, but i dont think it will work via script
Guys, I'm not sure, but when you join another team weapon menu pops again, even if it was TABed. :-S
function OnPlayerDamage(Victim,Shooter: Byte;Damage: Integer;Weapon: Byte) : integer;begin if GetPlayerStat(Victim, 'Team') = 2 then if Damage > 0 then if (Weapon = 50) then begin GiveBonus(Victim, 1) WriteConsole(Victim,'Magic Nade!', $EE81FAA1); end;end;