06-21-2021, 12:02 AM
(This post was last modified: 06-21-2021, 12:03 AM by Here lies Eggroll's Eggrolls. Edited 1 time in total.)
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.
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 :)
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);
Also, welcome to the forums :)
Resigned prop hunt trusted 4/16/2021 - 1/1/2022 <3