Raised This Month: $ Target: $400
 0% 

First plugin mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-30-2005 , 01:54  
Reply With Quote #3

Code:
 #include <amxmodx> #include <amxmisc> // You forgot your defines #define PLUGIN "My Plugin" #define VERSION "1.0" #define AUTHOR "Somebody" public plugin_init() {      register_plugin(PLUGIN, VERSION, AUTHOR)      register_clcmd("pause","function",ADMIN_LEVEL_B) } public function(id) {   // check access   if(!cmd_access(id,level,cid,1))     return PLUGIN_HANDLED   new name [33]   get_user_name(id,name,32) // length is 33-1 in this case   client_cmd(0,"spk goslow.wav")   client_print(0,print_chat,"[AMXX] Server is in pause mode",name)   return PLUGIN_HANDLED }
I'm off to bed.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
 



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 16:10.


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