MantisBT - Soldat Dedicated Server
View Issue Details
0000648Soldat Dedicated ServerScripting Corepublic2016-02-11 15:442016-03-15 01:32
dodo 
 
normalminoralways
acknowledgedopen 
Windows 10
2.8.0 
 
0000648: .OnWeaponChange
Is bad indicates wrong secondary.If I do not use parts of code that the weapon was chosen information is doubled And I can not say when or set the correct weapon for PlayerInfo[Player.ID].Wep2 (secondary).
[code] if (PlayerInfo[Player.ID].Resp=true) then begin
        if (Primary.Wtype<>255) then PlayerInfo[Player.ID].Wep1:=Primary.Wtype;
        PlayerInfo[Player.ID].Wep2:=Secondary.Wtype;
        if (PlayerInfo[Player.ID].Wep1<>255) then begin
            PlayerInfo[Player.ID].Resp:=False;
            WeaponAmmoChangeLimit(player.id);
            Players.Tell('Respawning & Selected Weapons!'); Players.Tell(Primary.Name + ' | ' + Secondary.Name);
        end;
    end;[/code]

https://www.youtube.com/watch?v=5eCiEB_XX44&feature=youtu.be [^]
https://www.youtube.com/watch?v=5eCiEB_XX44&feature=youtu.be [^]
No tags attached.
Issue History
2016-02-11 15:44dodoNew Issue
2016-03-15 01:32FalconPriorityhigh => normal
2016-03-15 01:32FalconSeverityfeature => minor
2016-03-15 01:32FalconStatusnew => acknowledged

There are no notes attached to this issue.