Closed Tralenor closed 1 year ago
wtb player:GetGlyph( $glyph, $slot )
:)
Wtb
player:GetGlyph( $glyph, $slot )
:)
can update? I am not know how push the pr
PlayerMethods.h
int GetGlyph(lua_State L, Player player)
{
uint8 slot = Eluna::CHECKVAL
LuaFunctions.cpp player { "GetGlyph", &LuaPlayer::GetGlyph },
for i = 1, 6 do
PlayerGlyph[PGuid][i] = player:GetGlyph(i - 1)
end
Adds a Method to the Lua Player Object which allows to set Glyphs for the current TalentGroup/Spec
Compiles: yes Tested: yes
Test Instructions/example Usage:
RegisterPlayerEvent(42, OnPlayerCommand)