Crate samp_sdk [−] [src]
SA:MP SDK
This crate is a Rust language wrapper for SA:MP SDK.
Re-exports
pub extern crate lazy_static; |
Modules
| amx |
Core of SDK to interact with AMX. |
| args |
Simple argument interator. |
| consts |
AMX Constants. |
| data |
Raw pointers to logprintf and the list of AMX functions. |
| macros |
Some useful macros to easy access and define natives. |
| types |
List of AMX types such as |
Macros
| args_count |
Get count of passed arguments in a native. |
| define_native |
Define native and hide raw C export functions. |
| exec |
Executes |
| exec_native |
Finds a native function and executes |
| exec_public |
Finds a public and executes |
| expand_args | |
| get_array |
Get a slice (an array) from arguments. |
| get_string |
Gets a string from a raw pointer to |
| lazy_static | |
| log |
Useful macro to log to SA:MP server output. |
| natives |
Clear macros that makes a new |
| new_plugin |
Hides ugly C code from your eyes. |
| set_string |
Sets a string to physical address. |