AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Earthquake Effect(gmsgshake)-Longer? Frquency? Amount? (https://forums.alliedmods.net/showthread.php?t=101091)

tryout101 08-20-2009 16:35

Earthquake Effect(gmsgshake)-Longer? Frquency? Amount?
 
Hi there guys,

Well I'm trying to get this effect to last longer and I want to understand all the three parts of this function, so i can customize to my needs. The script is below, please tell me what I should know. :)

PHP Code:

else { 
      new 
player cmd_target(idtarget,31
      new 
gmsgShake get_user_msgid("ScreenShake"

      if(
is_user_alive(player)){ 
      
message_begin(MSG_ONEgmsgShake, {0,0,0}, player)
      
write_short(255<< 14 //ammount 
      
write_short(10 << 14//lasts this long 
      
write_short(255<< 14//frequency 
      
message_end() 
      }



*As side notes, I did search, Google and this site, but I couldn't find exactly a solution, I played around with those numbers and they stopped working well at least when used on specific player.


All times are GMT -4. The time now is 15:01.

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