Raised This Month: $ Target: $400
 0% 

[CS:GO] Hide Knife, Keep Crosshair


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Akitake
New Member
Join Date: Apr 2018
Old 04-18-2018 , 03:24   Re: [CS:GO] Hide Knife, Keep Crosshair
Reply With Quote #3

Quote:
Originally Posted by Indarello View Post
Code:
SetEntProp(client_index, Prop_Send, "m_iHideHUD", GetEntProp(client_index, Prop_Send, "m_iHideHUD") | HIDEHUD_WEAPONSELECTION); 
RemovePlayerItem(weapons...)
I don't see how that's any different than having "mp_drop_knife_enable 1", no crosshair, no knife.

Quote:
Originally Posted by Indarello View Post
Code:
new weapon = GivePlayerItem(client, "weapon_usp_silencer");
SetEntProp(weapon, Prop_Send, "m_iPrimaryReserveAmmoCount", 0);
SetEntProp(weapon, Prop_Send, "m_iClip1", 0);
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.

Last edited by Akitake; 04-18-2018 at 03:27.
Akitake is offline
 



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