Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local entites = {"tcb_techprint_red","tcb_techprint_yellow","tcb_techprint_purple"}
- local defaultitems = {"keypad_cracker","weapons_fists","keys","weapon_physcannon","gmod_camera","gmod_tool","weapon_physgun"}
- hook.Add( "HUDPaint", "Wallhack", function()
- for k,v in pairs ( player.GetAll() ) do
- local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
- draw.DrawText( v:Name(), "Trebuchet18", Position.x, Position.y, Color( 255, 255, 255, 255 ), 1 )
- draw.DrawText( "Health: "..v:Health(), "Trebuchet18", Position.x, Position.y + 40, Color( 255, 255, 255, 255 ), 1 )
- if IsValid(v:GetActiveWeapon()) then
- draw.DrawText( v:GetActiveWeapon():GetClass(), "Trebuchet18", Position.x, Position.y + 20, Color( 255, 255, 255, 255 ), 1 )
- end
- draw.DrawText( team.GetName(v:Team()), "Trebuchet18", Position.x, Position.y + 60, Color( 255, 255, 255, 255 ), 1 )
- draw.DrawText( v:getDarkRPVar("money").."$", "Trebuchet18", Position.x, Position.y + 80, Color( 255, 255, 255, 255 ), 1 )
- end
- end)
- hook.Add( "HUDPaint", "Printer", function()
- for s,d in pairs(ents.GetAll()) do
- //print(d:GetClass())
- if string.StartWith(d:GetClass(),"tcb") then
- local Position = ( d:GetPos() + Vector( 0,0,80 ) ):ToScreen()
- draw.DrawText( "PRINTER!", "Trebuchet24", Position.x, Position.y + 10, Color( 255, 0, 0, 255 ), 1 )
- end
- end
- end)
- concommand.Add("playerweapons",function()
- if LocalPlayer():GetEyeTrace().Entity:IsPlayer() == true then
- LocalPlayer():ChatPrint("List:")
- LocalPlayer():ChatPrint("--------------------")
- for k,v in pairs(LocalPlayer():GetEyeTrace().Entity:GetWeapons()) do
- if table.HasValue(defaultitems,v:GetClass()) == false then
- LocalPlayer():ChatPrint(v:GetClass())
- end
- end
- LocalPlayer():ChatPrint("--------------------")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement