Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- look for these in hr_cm_config.lua lines 126-127 and change to
- HR_CrystalMeth.MethQualityFormula = {11, 43, 64, 8} -- aluminum / cyfluthrin / methylamine / inter acid
- HR_CrystalMeth.MethQualityFormula_WrongInfo = {math.random(5, 15), math.random(5, 15), math.random(5, 15), math.random(1, 4)} -- a little random to mess up permanent formula
- -- add this code to hr_cm\lua\darkrp_modules\hr_cm\sv_hr_cm_help.lua
- concommand.Add("amph_100recipe", function(ply, cmd, args)
- if (ply:IsAdmin() or ply:IsSuperAdmin()) then
- ply:SendLua("LocalPlayer():EmitSound('vo/k_lab/kl_almostforgot.wav', 70, 100)");
- ply:SendLua("local tab = {Color(255,255,255),[[Hey doc, here is ]],HR_CrystalMeth.MethName_Color,[[Amphetamine ]], Color(255,255,255),[[100% formula information:]]}chat.AddText(unpack(tab))");
- ply:SendLua("local tab = {HR_CrystalMeth.AluminumBox_TextColor,[["..HR_CrystalMeth.AluminumBox_Text.."]], Color(255,255,255),[[ - "..(math.abs(HR_CrystalMeth.MethQualityFormula[1])*250).."g]]}chat.AddText(unpack(tab))");
- ply:SendLua("local tab = {HR_CrystalMeth.CyfluthrinCan_TextColor,[["..HR_CrystalMeth.CyfluthrinCan_Text.."]], Color(255,255,255),[[ - "..math.abs(HR_CrystalMeth.MethQualityFormula[2]).." L]]}chat.AddText(unpack(tab))");
- ply:SendLua("local tab = {HR_CrystalMeth.Methylamine_TextColor,[["..HR_CrystalMeth.Methylamine_Text.."]], Color(255,255,255),[[ - "..math.abs(HR_CrystalMeth.MethQualityFormula[3]).." L]]}chat.AddText(unpack(tab))");
- ply:SendLua("local tab = {HR_CrystalMeth.Glass_Intermediate_Acid_Color,[["..HR_CrystalMeth.Glass_Intermediate_Acid.."]], Color(255,255,255),[[ - "..math.abs(HR_CrystalMeth.MethQualityFormula[4]).." L]]}chat.AddText(unpack(tab))");
- end;
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement