mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Moved msg functions
This commit is contained in:
parent
35fe033d53
commit
439550c2ac
@ -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);
|
||||
|
||||
|
@ -13,23 +13,6 @@
|
||||
|
||||
#include <engine_const>
|
||||
|
||||
/* 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:
|
||||
|
Loading…
Reference in New Issue
Block a user