Raised This Month: $ Target: $400
 0% 

help me figure out what i did wrong with this plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 03-12-2006 , 12:15  
Reply With Quote #6

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> public plugin_init() {     register_plugin("Sounds", "1.0","randitobandito")     register_clcmd("say", "handle_say")     register_clcmd("say_team", "handle_say") } public plugin_precache() {     precache_sound("sounds/randysmusicmod/lol.mp3")     precache_sound("sounds/randysmusicmod/techno.mp3")     precache_sound("sounds/randysmusicmod/omg.wav")     precache_sound("sounds/randysmusicmod/rock.mp3")     precache_sound("sounds/randysmusicmod/fuck.wav")     precache_sound("sounds/randysmusicmod/noob.wav")     precache_sound("sounds/randysmusicmod/stfu.wav") } public handle_say(id) {     new Text[32]     read_args(Text, 31)       remove_quotes(Text)     if(equali(Text, "lol"))          client_cmd(0, "spk sounds/randysmusicmod/lol.mp3")     if(equali(Text, "techno"))          client_cmd(0, "spk sounds/randysmusicmod/techno.mp3")     if(equali(Text, "omg"))          client_cmd(0, "spk sounds/randysmusicmod/omg.wav")     if(equali(Text, "rock"))          client_cmd(0, "spk sounds/randysmusicmod/rock.mp3")     if(equali(Text, "fuck"))          client_cmd(0, "spk sounds/randysmusicmod/fuck.wav")     if(equali(Text, "noob"))          client_cmd(0, "spk sounds/randysmusicmod/noob.wav")         if(equali(Text, "noob"))          client_cmd(0, "spk sounds/randysmusicmod/stfu.wav")     return PLUGIN_HANDLED }
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
 



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 20:26.


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