AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Remove Screenshake? (https://forums.alliedmods.net/showthread.php?t=283235)

Whitez 05-28-2016 13:47

Remove Screenshake?
 
How to remove it ?

PHP Code:

        message_begin(MSG_BROADCASTg_MsgScreenShake)
        
write_short((10<<12)) // amplitude
        
write_short((5<<12)) // duration
        
write_short((10<<12)) // frequency
        
message_end() 


klippy 05-28-2016 14:51

Re: Remove Screenshake?
 
Remove these 5 lines you just posted.

Whitez 05-28-2016 17:17

Re: Remove Screenshake?
 
I mean how to stop a screen shake which is in action ?

siriusmd99 05-28-2016 18:19

Re: Remove Screenshake?
 
set screenshake with duration 1 second.
After 1 second IT willl disaapear.


All times are GMT -4. The time now is 18:42.

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