Skip to content

function getPlayerPtr (client-side)

Available since version: 0.2

This function will get player npc pointer.

Declaration

userpointer getPlayerPtr(int id)

Parameters

  • int id: the player id.

Returns userpointer

npc the raw pointer to npc object.