Raised This Month: $ Target: $400
 0% 

My plugin is not working


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kasc
Junior Member
Join Date: Mar 2005
Location: The Grand UK!
Old 03-31-2005 , 12:09   My plugin is not working
Reply With Quote #1

Please tell me why this has a "Bad Load":
Code:
#include <amxmodx> #include <amxmisc> new PLUGIN[]="You Are Stupid" new AUTHOR[]="Kasc" new VERSION[]="1.00" public plugin_init() {      register_plugin(PLUGIN, VERSION, AUTHOR)      register_clcmd("amx_urstupid","myfunction",AMX_HELP,"Declares that you think a specific person is stupid!")         } public myfunction(id) {      new arg[32];      read_argv(1,arg,31);      new player = cmd_target(id,arg);      if(!player) {           return PLUGIN_HANDLED;      }      new targetname[32], myname[32];      get_user_name(player,targetname,31);      get_user_name(id,myname,31);      client_print(0,print_chat,"* %s thinks that %s is stupid!",myname,targetname);      return PLUGIN_HANDLED; }

thanks
__________________
I like it when you get bad karma, especially because of its randomness!
kasc is offline
Send a message via AIM to kasc Send a message via MSN to kasc
 



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 09:49.


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