Raised This Month: $ Target: $400
 0% 

ThunderClap


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-27-2010 , 08:55   Re: ThunderClap
Reply With Quote #1

Quote:
Originally Posted by rrduna View Post
It did not work. Now what do I do?

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Plugin Name"
#define VERSION "1.0"
#define AUTHOR "AMXX-Studio"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
Thunderclap(id){
    
ArrayGetString(sound_thunderrandom_num(0ArraySize(sound_thunder) - 1), soundcharsmax(sound))
    
PlaySound(sound);
    
    
set_taskrandom_float30.0,  90.0 ), "Thunderclap");


Code:
#include <amxmodx> new const sound_thunder[] = "the_thunder_clap_sound.wav" public plugin_init() register_plugin("What", "0.0000.0.1", "No oNe :P")     set_task( random_float( 30.0,  60.0 ), "Thunderclap") public plugin_precache() precache_sound( sound_thunder ) public Thunderclap() client_cmd(0, "spk ^"%s^"", sound_thunder)     set_task( random_float( 30.0,  60.0 ), "Thunderclap")
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
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 11:18.


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