Poll: Thoughts?
You do not have permission to vote in this poll.
YEEEE
75.00%
6 75.00%
nah
25.00%
2 25.00%
Total 8 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CUSTOM CROSSHAIRS
#3
Yes. I would also like to leave this link here. It is a custom crosshair maker. It is nothing too complex but it works great! This is a client-side and server side (hi dink) workshop addon that will allow players to make their own crosshair. It does have an issue with conflicting with existing crosshairs that are embedded in weapons but I do not know if there is a fix for that. Regardless, here is my suggestion. https://steamcommunity.com/sharedfiles/f...1834710531

Also, is this were to be put on the server there would need to be a script that runs a client side command when you press a button like for example F2. This is very easy to do with a simple lua script being installed server-side such as this. 
Code:
if SERVER then
  AddCSLuaFile()
  return
end

local key_is_down = false;
local lastPress = 0
local function KeyPressedHook()
    if(input.IsKeyDown(KEY_F2) and not key_is_down) and CurTime() > lastPress + 0.5 then
        key_is_down = true;
        RunConsoleCommand("xhair_menu");
        lastPress = CurTime()
    else
        key_is_down = false;
    end
end
hook.Add("Think","KeyPressedHook",KeyPressedHook);
That will make it so that the players on the server will run the command that is needed to be typed out in console with the push of a button. It's a simple enough workaround. I just wish there was a way to disable the crosshair that comes with the weapons, if someone could figure out how to do that then custom crosshairs would be the perfect addon for dinks ttt! Hopefully this gets the recognition it deserves :)

Also, welcome to the forums :)
[Image: 955ef7a32696f2e506ea3319fcb5017a.png][Image: Banned-Gravity-Small.jpg]
Resigned prop hunt trusted 4/16/2021 - 1/1/2022 <3


Messages In This Thread
CUSTOM CROSSHAIRS - by Sacred3569 - 06-20-2021, 11:25 PM
RE: CUSTOM CROSSHAIRS - by Gabeolo - 06-20-2021, 11:27 PM
RE: CUSTOM CROSSHAIRS - by Here lies Eggroll's reputation. - 06-21-2021, 12:02 AM
RE: CUSTOM CROSSHAIRS - by Sacred3569 - 06-21-2021, 12:21 AM
RE: CUSTOM CROSSHAIRS - by HONG - 06-21-2021, 12:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)

About Us
    This is Dinkleberg's GMod, a gaming community based in Garry's Mod. We have a Trouble in Terrorist Town, Prop Hunt, Murder, and Deathrun Server. Come check them out sometime.