Raised This Month: $ Target: $400
 0% 

[CS:GO] Hide Knife, Keep Crosshair


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 04-18-2018 , 09:05   Re: [CS:GO] Hide Knife, Keep Crosshair
Reply With Quote #1

Quote:
Originally Posted by Akitake View Post
I don't see how that's any different than having "mp_drop_knife_enable 1", no crosshair, no knife.



Again, I asked for the player to not see a weapon in his viewmodel, basically this is for a surfing server where you can't kill/be killed anyways. I just want nothing obstructing the surfer's view except his crosshair if he decides to have it. I know it's possible, I've seen it done.
I don't care how the player looks to other players, if it looks like he still has a knife or not, I just want everyone's own fps view to not have anything in it.

PS: Yes, I have tried both code snippets out before saying they're not what I want.
Please make screenshoot what you want, on server which existed and make screenshoot what my code make
Indarello is offline
Akitake
New Member
Join Date: Apr 2018
Old 04-18-2018 , 15:06   Re: [CS:GO] Hide Knife, Keep Crosshair
Reply With Quote #2

What I want

• No weapons on screen.
• Crosshair appearing in the middle.

Hide hud.. technique?

This is basically like enabling "mp_drop_knife_enable 1" in game, it just allows for a smooth drop of the knife, but it doesn't show the crosshair.

Code: https://hastebin.com/qerudijado.cpp

Screenshot:



USP Proposed Technique's

The code does what you'd expect it to, allows you to drop your knife then replaces it with a 0 bullet pistol, but that's not what I asked for.

Code: https://hastebin.com/dazacazepo.cpp

Screenshot:

Last edited by Akitake; 04-18-2018 at 15:09.
Akitake is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode