CallNative

From GT-MP
Jump to: navigation, search
CallNative
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Calls a native.


Syntax

API.callNative(string hash, Object[] args);

Required Arguments

  • hash: parameter input should be in string type.
  • args: parameter input should be in Object[] type.

Usage example

API.callNative(hash, args);

References

http://www.dev-c.com/nativedb/