I have cut out this from drmanager plugin. Will it block players money?
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
new g_iMsgMoney
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event( "Money", "EventMoney", "b" );
}
public EventMoney( id ) {
set_pdata_int( id, 115, 0 );
message_begin( MSG_ONE_UNRELIABLE, g_iMsgMoney, _, id );
write_long ( 0 );
write_byte ( 1 );
message_end( );
}
And about hiding : For this i use hud_customizer plugin.
http://forums.alliedmods.net/showthr...t=76947&page=3
But I want to use as little as possible code.
I have been trying to cut it too, but there are many errors.