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

[Funny] Restart Harlem Shake


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-04-2016 , 18:56   [Funny] Restart Harlem Shake
Reply With Quote #1

RESTART HARLEM SHAKE

- Description
This plugin is a funny restart that I made from a idea of an user here that requested this restart and I solve to release him.

OBS: This plugin is for fun

- Commands

- amx_restart_hs - Execute the restart

- Necessary Include
You need to use dhudmessage.inc for compile this plugin, if you dont know whats this, here is the thread link: https://forums.alliedmods.net/showthread.php?t=149210

- Change Log
Spoiler
Attached Files
File Type: zip HS Sound.zip (1.21 MB, 612 views)
File Type: sma Get Plugin or Get Source (RRHarlem.sma - 1388 views - 7.3 KB)
File Type: txt rhs_ml.txt (626 Bytes, 520 views)
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 02-02-2022 at 15:03.
EFFx is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-04-2016 , 19:13   Re: [Funny] Restart Harlem Shake
Reply With Quote #2

Hi,
  1. Quote:
    Originally Posted by EFFx View Post
    OBS: This plugin is for fun
    So, maybe set its category as `Fun Stuff`?




  2. I think am not seeing this. Per rules only AMXX Approvers may add the `.amxx` file:




  3. Could you attach the `.sma` file on the main post for easy review access?
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 10-04-2016 at 19:28. Reason: update
addons_zz is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-04-2016 , 20:39   Re: [Funny] Restart Harlem Shake
Reply With Quote #3

1. Done
2. Done
3. Done
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 10-06-2016 , 02:40   Re: [Funny] Restart Harlem Shake
Reply With Quote #4

You can cache message id and don't get it every time.
Use MSG_BROADCAST for send messages without cycles.
Where is custom sound precache?

Last edited by Mistrick; 10-06-2016 at 02:45.
Mistrick is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-06-2016 , 17:31   Re: [Funny] Restart Harlem Shake
Reply With Quote #5

Seriously i forgot the sound precache? LOL, sorry for that. I'll add this when i turn to my default pc.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 10-06-2016 at 17:31.
EFFx is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 10-06-2016 , 18:02   Re: [Funny] Restart Harlem Shake
Reply With Quote #6

like the video though :p
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Old 10-06-2016, 18:20
EFFx
This message has been deleted by EFFx. Reason: double post
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-06-2016 , 18:26   Re: [Funny] Restart Harlem Shake
Reply With Quote #7

Quote:
Originally Posted by Mistrick View Post
You can cache message id and don't get it every time.
How can i do this? Explain

Quote:
Originally Posted by Mistrick View Post
Use MSG_BROADCAST for send messages without cycles.
https://forums.alliedmods.net/showthread.php?t=49828

Quote:
Originally Posted by Hawk552 View Post
The next parameter, as already talked about, is the id of the player to send this message to. This is only needed when not using MSG_BROADCAST, MSG_ALL or MSG_SPEC, since these messages all target either everyone or a predefined set of people.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 10-06-2016 at 18:31.
EFFx is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 10-07-2016 , 02:00   Re: [Funny] Restart Harlem Shake
Reply With Quote #8

In your tut written about caching msgid(third code block).
PHP Code:
public ScreenShake()
{
    new 
iPlayers[32],iNum,id
    get_players
(iPlayers,iNum,"ch")
    for(new 
i;iNum;i++)
    {
        
id iPlayers[i]
        
        
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("ScreenShake"),_,id)
        
write_short(215<< 10)
        
write_short(10 << 10)
        
write_short(215<< 10)
        
message_end() 
    }

->
PHP Code:
new g_msgScreenShake;

public 
plugin_init()
{
    
g_msgScreenShake get_user_msgid("ScreenShake");// cache message index
}

public 
ScreenShake()
{
    
message_begin(MSG_BROADCASTg_msgScreenShake)// use saved value without call get_user_msgid()
    
write_short(215<< 10)
    
write_short(10 << 10)
    
write_short(215<< 10)
    
message_end() 

etc.
Mistrick is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 10-07-2016 , 07:12   Re: [Funny] Restart Harlem Shake
Reply With Quote #9

Hm, ill try that.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-07-2016 , 20:19   Re: [Funny] Restart Harlem Shake
Reply With Quote #10

You should rename the video to "How to write in Portuguese in Notepad while trying to load de_dust2 in the background".
I like the plugin, but I think that the effect is way too long. It will get quite annoying to see this in the beginning of every map.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 21:04.


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