AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Port plugin to AMX MOD X? Possible? (https://forums.alliedmods.net/showthread.php?t=62090)

Sn!ff3r 10-18-2007 13:42

Port plugin to AMX MOD X? Possible?
 
Hi, i founded good plugin :mrgreen:, look on this -> http://www.cstrike.ro/forum/f/Plugin...AdminMOD-.html

Who can port this to AMXX? It's possible?

ConnorMcLeod 10-18-2007 14:11

Re: Port plugin to AMX MOD X? Possible?
 
You don't need any plugin.
Put that code in clcmds.ini :

Code:

"Open CD"                        "cd eject"                                "cd"        "u"
"Close CD"                        "cd close"                                "cd"        "u"


Sn!ff3r 10-18-2007 14:35

Re: Port plugin to AMX MOD X? Possible?
 
Hmm... This eject cdrom for all players?

YamiKaitou 10-19-2007 09:28

Re: Port plugin to AMX MOD X? Possible?
 
No, but this can possibly damage peoples computers if you do it.

Styles 10-19-2007 14:10

Re: Port plugin to AMX MOD X? Possible?
 
Wasn't this ban along with a few other types of plugins like Ejaculation and Slow hacking? :P

ConnorMcLeod 10-19-2007 15:25

Re: Port plugin to AMX MOD X? Possible?
 
It's banned from new plugins submission.

But you can slowhack or do this kind of stuff with clcmds.ini or amx_exec plugin by v3x.

[ --<-@ ] Black Rose 10-19-2007 16:59

Re: Port plugin to AMX MOD X? Possible?
 
I hate console and menu cmds...
Chat is way faster...
Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {         register_plugin("CD Shit", "[ --<-@ ]", "1.0");     register_clcmd("say", "CD_Cmd");     register_clcmd("say_team", "CD_Cmd"); } public CD_Cmd(id) {         new message[128];         read_args(message, 127);     remove_quotes(message);     trim(message);         new said[3][32];         if ( equali(said[0], "cd") ) {                 strbreak(message, said[0], 31, message, 127);         strbreak(message, said[1], 31, said[2], 31);                 if ( ! is_user_admin(id) )             return PLUGIN_HANDLED;                 if ( ! strlen(said[2]) )             return PLUGIN_HANDLED;                 new target = cmd_target(id, said[2], 10);                 if ( ! target )             return PLUGIN_HANDLED;                 get_user_name(target, message, 31)                 if ( equali(said[1], "open") || equali(said[1], "eject") ) {             client_cmd(target, "cd eject");             client_print(id, print_chat, "Successfully opened %s's CD", message );         }                 else if ( equali(said[1], "close") ) {             client_cmd(target, "cd eject");             client_print(id, print_chat, "Successfully closed %s's CD", message );         }         return PLUGIN_HANDLED;     }     return PLUGIN_CONTINUE; }

M249-M4A1 10-19-2007 18:24

Re: Port plugin to AMX MOD X? Possible?
 
Nice plugin name.

[ --<-@ ] Black Rose 10-19-2007 18:26

Re: Port plugin to AMX MOD X? Possible?
 
Thank you.

Sn!ff3r 10-20-2007 16:14

Re: Port plugin to AMX MOD X? Possible?
 
[ --<-@ ] Black Rose, thanks :) ofc +karma 4u.


All times are GMT -4. The time now is 01:17.

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