Raised This Month: $ Target: $400
 0% 

Weapon firing when MOTD appears | CVAR not updating |


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-10-2018 , 09:49   Re: Weapon firing when MOTD appears | CVAR not updating |
Reply With Quote #2

That's considered a bug, the same happens if you hold IN_ATTACK and open the console. I believe you can fix that "holstering" and "deploying" the active item of the player when motd be shown. Or you can "supercede" the primary attack if the motd is current opened.

I'm not sure, but you need to set these variables in plugin_cfg, not in plugin_init.

Code:
g_iMaxTeams = get_pcvar_num( g_iCvars[ 0 ] ); g_iPlayerPerTeam = get_pcvar_num( g_iCvars[ 1 ] );
__________________









Last edited by CrazY.; 07-10-2018 at 10:01.
CrazY. 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 12:37.


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