Crate scripthookv[][src]

Re-exports

pub extern crate shv_bindings;

Modules

Macros

Used for calling natives.

Structs

Used for drawing custom textures.

Enums

Used for identifying game versions.

Functions

Gets all objects present in the world.

Gets all peds present in the world.

Gets all pickups present in the world.

Gets all vehicles present in the world.

Returns the current game version.

Gets a script global and returns it as a mutable reference.

Used for registering secondary script functions.

Wrapper for register_keyboard_handler

Wrapper for presentCallbackRegister

Used for registering your main script function.

Wrapper for remove_keyboard_handler

Wrapper for presentCallbackUnregister

Removes all script created with the given module instance.

Pauses script execution for the specified duration.

Pauses script execution for 1 game tick.