Macro scripthookv::call_native [−][src]
macro_rules! call_native {
($type : ty, $hash : literal $(, $args : expr) *) => { ... };
}
Expand description
Used for calling natives.
Parameters are as follows:
- return type
- native hash
- native params
unsafe fn wait(ms: i32) -> Void {
call_native!(Void, 0x4EDE34FBADD967A6u64, ms)
}