- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
if self.Weapon:GetNextPrimaryFire() < CurTime() then
if GetConVarNumber( "ma2_togglechargeui" ) == 1 then
if (self.Charge-self.DmgMin)/self.DmgMax*100<=10 then
ply:SetNWString("chargebar","██")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=20 then
ply:SetNWString("chargebar","████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=30 then
ply:SetNWString("chargebar","██████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=40 then
ply:SetNWString("chargebar","████████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=50 then
ply:SetNWString("chargebar","██████████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=60 then
ply:SetNWString("chargebar","████████████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=70 then
ply:SetNWString("chargebar","██████████████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=80 then
ply:SetNWString("chargebar","████████████████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100<=90 then
ply:SetNWString("chargebar","██████████████████")
elseif (self.Charge-self.DmgMin)/(self.DmgMax-self.DmgMin)*100>90 then
ply:SetNWString("chargebar","████████████████████")
ply:SetNWBool("chargemaxxxed",true)
end
end
end
https://steamcommunity.com/sharedfiles/filedetails/?id=1825542758
phpBidlokoder2 11.09.2019 22:26 # 0
guest8 11.09.2019 22:33 # −999
nABuAH 12.09.2019 12:20 # 0
xyu_CATAHbI 12.09.2019 12:36 # +1
string.rep("xyu",5) --xyuxyuxyuxyuxyu
И циклы завезли и все завезли.
cmepmop 12.09.2019 13:48 # 0
Steve_Brown 12.09.2019 12:14 # 0
cmepmop 12.09.2019 13:54 # 0
nABuAH 12.09.2019 14:11 # 0
guest8 18.09.2019 20:14 # −999
ropuJIJIa 18.09.2019 20:25 # 0
KingKong 19.09.2019 00:43 # 0
guest8 19.09.2019 00:55 # −999
guest8 19.09.2019 00:54 # −999