message_begin
Core (amxmodx.inc)
Description
message_begin - These functinos are used to generate client messages.
Syntax
message_begin ( dest, msg_type, origin[3]={0,0,0},player=0 )
Type
Native
Notes
You may generate menu, smoke, shockwaves, thunderlights, intermission and many many others messages. See HL SDK for more examples.
Other function related: message_end, write_byte, write_char, write_short, write_long, write_entity, write_angle, write_coord, write_string
Before calling another message_begin you must call message_end(). Sending a new message before another is complete or sending an invalid message number (such as 0) will cause the server to crash.