Skip to content

function getPlayerGuild (client-side)

Available since version: 0.2.1

This function will get the player/npc guild.

Declaration

int|null getPlayerGuild(int id)

Parameters

  • int id: the player id.

Returns int|null

the guild id or null if player isn't spawned.