Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (LocalPlayer():GetActiveWeapon():IsValid()) then -- If player is alive then
- -- Finds & displays client's current weapon ammo
- if (LocalPlayer():GetActiveWeapon():Clip1() != -1) then
- draw.SimpleText("Ammo: " .. LocalPlayer():GetActiveWeapon():Clip1() .. "/" .. LocalPlayer():GetAmmoCount(LocalPlayer():GetActiveWeapon():GetPrimaryAmmoType()),"Font50",ScrW()-315,ScrH()-115,Color(255,255,255),0,0) -- "Ammo" text
- else
- draw.SimpleText("Ammo:" .. LocalPlayer():GetAmmoCount(LocalPlayer():GetActiveWeapon():GetPrimaryAmmoType()),"Font50",ScrW()-315,ScrH()-115,Color(255,255,255),0,0)
- end
- -- Finds & displays client's current weapon
- if (LocalPlayer():GetActiveWeapon():GetPrintName() != nil) then
- draw.SimpleText("Gun: " .. LocalPlayer():GetActiveWeapon():GetPrintName(),"Font30",ScrW()-315,ScrH()-60,Color(255,255,255),0,0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment