Raised This Month: $ Target: $400
 0% 

Earthquake Effect(gmsgshake)-Longer? Frquency? Amount?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tryout101
Member
Join Date: Mar 2009
Old 08-20-2009 , 16:35   Earthquake Effect(gmsgshake)-Longer? Frquency? Amount?
Reply With Quote #1

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.

Last edited by tryout101; 08-20-2009 at 16:38. Reason: Additional Info
tryout101 is offline
Reply



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 15:01.


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