Raised This Month: $12 Target: $400
 3% 

Is there anybody can help me to solve the problem?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cyxnzb
Junior Member
Join Date: Apr 2013
Old 09-18-2020 , 10:27   Is there anybody can help me to solve the problem?
Reply With Quote #1

I have an .amxx, from zth mode.
When I was using this .amxx, a problem occurred
The problem is this: when I was in the human camp, I pressed the "M" key and turned on the night vision goggles in the store. It was normal for the first 3 seconds, and then the brightness suddenly dimmed.
After analyzing the source code, I figured out what might be wrong, causing only the color to be rendered after 3 seconds, and the brightness was not set, but I changed it according to my ideas but it didn't work.
So can someone help me solve this problem?Thanks a lot
//
I uploaded the source code about the problem
Attached Files
File Type: sma Get Plugin or Get Source (zth_enginezp43fix5a.sma - 276 views - 326.1 KB)
cyxnzb is offline
Old 09-18-2020, 10:35
cyxnzb
This message has been deleted by cyxnzb.
cyxnzb
Junior Member
Join Date: Apr 2013
Old 09-18-2020 , 10:37   Re: Is there anybody can help me to solve the problem?
Reply With Quote #2

Anyway,when I am a zombie, the problem will be recurred
cyxnzb is offline
artYY
Member
Join Date: May 2020
Location: Brazil, Curitiba, PR
Old 09-20-2020 , 02:41   Re: Is there anybody can help me to solve the problem?
Reply With Quote #3

U should change that:
PHP Code:
    if (get_pcvar_num(cvar_infectionscreenshake))
    {
        
message_begin(MSG_ONE_UNRELIABLEg_msgScreenShake_id)
        
write_short(UNIT_SECOND*4// amplitude
        
write_short(UNIT_SECOND*2// duration
        
write_short(UNIT_SECOND*10// frequency
        
message_end()
    } 
__________________
artYY is offline
cyxnzb
Junior Member
Join Date: Apr 2013
Old 07-08-2021 , 00:54   Re: Is there anybody can help me to solve the problem?
Reply With Quote #4

Quote:
Originally Posted by artYY View Post
U should change that:
PHP Code:
    if (get_pcvar_num(cvar_infectionscreenshake))
    {
        
message_begin(MSG_ONE_UNRELIABLEg_msgScreenShake_id)
        
write_short(UNIT_SECOND*4// amplitude
        
write_short(UNIT_SECOND*2// duration
        
write_short(UNIT_SECOND*10// frequency
        
message_end()
    } 
Thank you
cyxnzb 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 06:41.


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