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:

  1. return type
  2. native hash
  3. native params
unsafe fn wait(ms: i32) -> Void {
  call_native!(Void, 0x4EDE34FBADD967A6u64, ms)
}