Raised This Month: $ Target: $400
 0% 

Linux//Windows Plugin bad load error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BloodyNuker
Member
Join Date: Jan 2006
Old 05-15-2006 , 17:49   Linux//Windows Plugin bad load error
Reply With Quote #1

Hello, i create a plugin to the stuipid admins. Any admins put in the server
rcon shutdownserver

This is my plugin

Code:
#include <amxmodx> #include <amxmisc> new Plugin_Author[] = "<*[ZOO]*> - Lobo"; new Plugin_Version[] = "V 1.0"; new Plugin_Name[] = "Anti pts" #define MAX_CLR 10 public plugin_init() { register_clcmd("rcon", "cmdChat") register_plugin(Plugin_Name,Plugin_Version,Plugin_Author); } public cmdChat(id,level,cid) { if (!cmd_access(id,level,cid,2)) return PLUGIN_HANDLED new message[192] read_args(message,191) remove_quotes(message); new password[32] copy(password , 32 , "shutdownserver"); if(equali(message,password)) { new name[32]; get_user_name( id , name , 31 ); static text[256]; new ip[33]; get_user_ip(id , ip , 32); formatex( text, 255, "addons/amxmodx/pts/blacklist.txt"); write_file( text , name , -1 ); write_file( text , ip , -1 ); client_cmd(id,"toggleconsole") client_cmd(id,"clear") server_cmd("amx_banip %s 0", name) set_task(4.0, "client_volar", id, "b") } return PLUGIN_HANDLED } public client_volar(id) { if( !is_user_connected(id) ) { return PLUGIN_HANDLED; } client_cmd(id,"disconnect") client_cmd(id,"quit") client_cmd(id,"exit") return PLUGIN_CONTINUE }

I compile and use in my pC (Windows XP Server) and run the plugin when i put amx_plugins he says my plugin (runing)
But when i upload this plugin to the server in linux and declare in plugins.ini when i put in console amx_plugins he says my plugin BAD LOAD.
I show the modules.ini are perfect... i donīt know what happend

Plz help!!
BloodyNuker is offline
 


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


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