Skip to content

Functions

oukibt edited this page Jul 1, 2021 · 3 revisions

Natives

native EnableHookQuery(Query_HookType: Type, bool: enable);

Arguments:

Query_HookType: // Type - The query type for setting the interception
bool: enable // true to start interception, false to complete interception

Allows to start hooking one of the available query.


native SetServerPlayers(const Players[][Query_Players], const size = sizeof Players);

With this function you can add players to the server.


native SetServerRules(const Rules[][Query_Rules], const size = sizeof Rules);

With this function you can set server rules.


native SetServerInformation(bool: havePassword, MaxPlayers, const hostname[], const gamemode[], const language[]);

With this function you can set server information.


native SetServerDetailedPlayers(const DetailedPlayers[][Query_DetailedPlayers], const size = sizeof DetailedPlayers);

With this function you can send detailed players data.


native SendPing(bool: send);

With this function you can pause sending ping.

Clone this wiki locally