MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000648Soldat Dedicated ServerScripting Corepublic2016-02-11 15:442016-03-15 01:32
Reporterdodo 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformWindows 10OSOS Version
Product Version2.8.0 
Target VersionFixed in Version 
Summary0000648: .OnWeaponChange
DescriptionIs 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 [^]
Additional Informationhttps://www.youtube.com/watch?v=5eCiEB_XX44&feature=youtu.be [^]
TagsNo tags attached.
John
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-02-11 15:44 dodo New Issue
2016-03-15 01:32 Falcon Priority high => normal
2016-03-15 01:32 Falcon Severity feature => minor
2016-03-15 01:32 Falcon Status new => acknowledged


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker