Functions
reapi_engine.inc
| Function | Type | Description |
|---|---|---|
| CheckVisibilityInOrigin | native | Test visibility of an entity from a given origin using either PVS or PAS |
| DisableHookMessage | native | Disables a game message hook identified by the specified handle. |
| EnableHookMessage | native | Enables a game message hook identified by the specified handle. |
| GetAttachment | native | Gets the position of the attachment |
| GetBodygroup | native | Gets body group value based on entity's model group |
| GetBonePosition | native | Gets the position of the bone |
| GetMessageArgType | native | Retrieves the type of the argument at the specified number in the current game message. |
| GetMessageArgsNum | native | Retrieves the number of argument in the current game message. |
| GetMessageBlock | native | Retrieves the block type for the specified message ID. |
| GetMessageData | native | Gets the message data value in the current game message |
| GetMessageOrigData | native | Gets the message data original value in the current game message. |
| GetSequenceInfo | native | Gets sequence information based on entity's model current sequence index |
| IsMessageDataModified | native | Checks if the specified type of message data has been modified This native allows you to check if any part of the message data, such as its destination, type, origin, receiver, or any the specific argument of the message, has been modified |
| RegisterMessage | native | Registers a callback function to be called when a game message with the specified ID is received. |
| ResetModifiedMessageData | native | Resets a specific type of message data to its original value |
| SetBodygroup | native | Sets body group value based on entity's model group |
| SetMessageBlock | native | Sets the block type for the specified message ID. |
| SetMessageData | native | Sets the message data in the current game message. |
| UnregisterMessage | native | Unregisters a game message hook identified by the specified handle. |
| get_entvar | native | Returns entvar data from an entity. Use the var_* EntVars enum |
| get_key_value | native | Gets value for key in buffer |
| get_key_value_buffer | native | Gets an AMXX string buffer from a infobuffer pointer |
| get_netadr | native | Returns a NetAdr var |
| get_netchan | native | Returns metchan data from an client. Use the net_* NetChan enum |
| get_ucmd | native | Returns usercmd data from an entity. Use the ucmd_* UCmd enum |
| rh_drop_client | native | Kicks a client from server with message |
| rh_emit_sound2 | native | Emits a sound from an entity from the engine. |
| rh_get_client_connect_time | native | Returns client's netchan playing time in seconds. |
| rh_get_mapname | native | Gets the name of the map. |
| rh_get_net_from | native | - |
| rh_get_realtime | native | Get real game time throughout the entire server lifecycle. |
| rh_is_entity_fullpacked | native | Checks if a specific entity is present in the host's outgoing entity table for a given frame, indicating it has passed the visibility check (AddToFullPack) and is ready for client transmission. |
| rh_reset_mapname | native | Reverts back the original map name. |
| rh_set_mapname | native | Sets the name of the map. |
| rh_update_user_info | native | Forces an userinfo update |
| set_entvar | native | Sets entvars data for an entity. Use the var_* EntVars enum |
| set_key_value | native | Sets value for key in buffer |
| set_key_value_buffer | native | Sets value string to entire buffer |
| set_netadr | native | Sets a NetAdr var. |
| set_netchan | native | Sets netchan data. Use the net_* NetChan enum |
| set_ucmd | native | Sets usercmd data. Use the ucmd_* UCmd enum |