SendNativeToPlayer

From GT-MP
Jump to: navigation, search
SendNativeToPlayer
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Sends a Native Call to a player.

Syntax

API.sendNativeToPlayer(Client player, ulong longHash, params object[] args);

Required Arguments

  • player: parameter input should be in NetHandle type.
  • longHash: parameter input should be in ulong type.
  • args: parameter input should be in object type.

Usage example(s)

   API.sendNativeToPlayer(player, 0xE1EF3C1216AFF2CD, player.handle);

References

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

http://gtanetwork.tiagocardosoweb.me/util/natives