SendNativeToAllPlayers

From GTA Network Wiki
Jump to: navigation, search

SendNativeToAllPlayers
Server-Side Function

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

Sends a Native Call to all player.

Syntax

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

Required arguments

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

Optional arguments:

  • args: all optional parameters of any type.

Usage example(s)

(invalid example hash, but is used as an example)

NAPI.Native.SendNativeToAllPlayers(0xE1EF3C1216AFF2CD, weapon, ammo);

Changelog

Version Description
1.0 Release.

References

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

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