diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index ef872f34..72a8a698 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -442,6 +442,21 @@ native register_concmd(const cmd[],const function[],flags=-1, info[]=""); /* Registers function which will be called from server console. */ native register_srvcmd(const server_cmd[],const function[],flags=-1, info[]=""); +/* These functinos are used to generate client messages. +* You may generate menu, smoke, shockwaves, thunderlights, +* intermission and many many others messages. +* See HL SDK for more examples. */ +native message_begin( dest, msg_type, origin[3]={0,0,0},player=0); +native message_end(); +native write_byte( x ); +native write_char( x ); +native write_short( x ); +native write_long( x ); +native write_entity( x ); +native write_angle( x ); +native write_coord( x ); +native write_string( x[] ); + /* Gets info about client command. */ native get_clcmd(index, command[], len1, &flags, info[], len2, flag); diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index 90f8aabf..ab8f37e1 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -13,23 +13,6 @@ #include -/* These functinos are used to generate client messages. -* You may generate menu, smoke, shockwaves, thunderlights, -* intermission and many many others messages. -* See HL SDK for more examples. */ -/* REMOVED (remove this comment section later when moving this back to amxx) /jghg -native message_begin( dest, msg_type, origin[3]={0,0,0},player=0); -native message_end(); -native write_byte( x ); -native write_char( x ); -native write_short( x ); -native write_long( x ); -native write_entity( x ); -native write_angle( x ); -native write_coord( x ); -native write_string( x[] ); -*/ - /* This is a highly experimental command that will directly hook a message in the engine! * You can overwrite the message before anything happens and either let the message continue * or fully block it. Here is how it works: