Raised This Month: $7 Target: $400
 1% 

Hiding weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Qes
AlliedModders Donor
Join Date: Jul 2014
Old 08-30-2016 , 17:20   Hiding weapons
Reply With Quote #1

Hello,
How do I hide the weapons players?

Last edited by Qes; 09-01-2016 at 16:39.
Qes is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-30-2016 , 18:44   Re: Hiding weapons
Reply With Quote #2

SetEntProp(client, Prop_Send, "m_bDrawViewmodel", 0);
Mitchell is offline
Qes
AlliedModders Donor
Join Date: Jul 2014
Old 09-01-2016 , 16:38   Re: Hiding weapons
Reply With Quote #3

I have one more request.
How do such a thing?
The player with the skill X - He see weapon - UnHide weapons
A player without a skill X - He does not see weapons - Hide weapons
Qes is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-01-2016 , 16:43   Re: Hiding weapons
Reply With Quote #4

PHP Code:
if (skill[client] == value)
{
    
SetEntProp(clientProp_Send"m_bDrawViewmodel"1);
}
else
{
    
SetEntProp(clientProp_Send"m_bDrawViewmodel"0);


Last edited by Maxximou5; 09-01-2016 at 16:43. Reason: flipflop
Maxximou5 is offline
Reply


Thread Tools
Display Modes

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 02:48.


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