SendNativeToPlayersInDimension

From GT-MP
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

API.sendNativeToPlayersInDimension(int dimension, ulong hash, params object[] args);

Required Arguments

  • dimension: parameter input should be in int type.
  • longHash: parameter input should be in ulong type.
  • args: parameter input should be in object type.

Usage example(s)

(Invalid hash, is just used as an example)

   API.sendNativeToPlayersInDimension(5, 0xE1EF3C1216AFF2CD, weapons, ammo);

References

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