SendNativeToPlayer

From GTA Network Wiki
Jump to: navigation, search

SendNativeToPlayer
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sends a Native Call to a player.

Syntax

void NAPI.Native.SendNativeToPlayer(Client player, ulong/Hash longHash, params object[] args);

Required arguments

  • player: parameter input should be in NetHandle type.
  • longHash: parameter input should be in ulong or Hash type.

Optional arguments:

  • args: all optional arguments in any type.

Usage example(s)

NAPI.Native.SendNativeToPlayer(player, 0xE1EF3C1216AFF2CD, player.handle);

Changelog

Version Description
1.0 Release.

References

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

https://cdn.rage.mp/public/natives/