SendNativeToPlayersInDimension

From GTA Network Wiki
Jump to: navigation, search

SendNativeToPlayersInDimension
Server-Side Function

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

Sends a Native Call to all players in a specified Dimension.

Syntax

void NAPI.Native.SendNativeToPlayersInDimension(int dimension, ulong/Hash hash, params object[] args);

Required arguments

  • dimension: parameter input should be in int type.
  • longHash: parameter input should be in ulong or Hash type.

Optional arguments

  • args: all optional arguments for the native in any type.

Usage example(s)

(Invalid hash, is just used as an example)

NAPI.Native.SendNativeToPlayersInDimension(5, 0xE1EF3C1216AFF2CD, weapons, ammo);

Changelog

Version Description
1.0 Release.

References

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

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