Skip to content

function getPlayerSelectedSpellNr (client-side)

Available since version: 0.2.1

Note

Equipped spells are numbered from 0 to 6.

This function will get currently selected spell number.

Declaration

int getPlayerSelectedSpellNr(int id)

Parameters

  • int id: the player id.

Returns int

the number of selected spell from inventory.