• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Gm Items Lua

kusanagy

Respected Member
Hello Guys :thrasher:

EmuDevs Hello friends, this is one of my first scripts!
I share with the community.
I am new Editing, sorry if there are errors in the script.



Code:
---by Kusanagy Azakura
-- Developers & Customizers WOW
 
 
local function GMItemLogin(event, player)
if player:GetGMRank() >= 1 then
                if (player:HasItem(2586, 1, 1)) then --  [Gamemaster's Robe]
                else
                        player:AddItem(2586, 1) --  [Gamemaster's Robe]
                                if (player:HasItem(11508, 1, 1)) then --  [Gamemaster's Slippers]
                                else
                                        player:AddItem(11508, 1) --  [Gamemaster's Slippers]
                                                if (player:HasItem(12064, 1, 1)) then --  [Gamemaster Hood]
                                                else
                                                        player:AddItem(12064, 1) --  [Gamemaster Hood]
                                                                if (player:HasItem(192, 1, 1)) then --  [Martin's Broken Staff]
                                                                else
                                                                        player:AddItem(192, 1) --  [Martin's Broken Staff]
                                                                                if (player:HasItem(22654, 1, 1)) then --  [Glacial Gloves]
                                                                                else
                                                                                        player:AddItem(22654, 1) --  [Glacial Gloves]
                                                                                                if (player:HasItem(22968, 1, 1)) then --  [Glacial Mantle]
                                                                                                else
                                                                                                        player:AddItem(22968, 1) --  [Glacial Mantle]
                                                                                                end
                                                                                                player:SendBroadcastMessage("|r|cff00ccffSystem |cffff0000[Game Master]|r")
                                                                                        end
                                                                                end
                                                                        end
                                                                end
                                                        end
                                                end
                                        end
                       
RegisterPlayerEvent(3, GMItemLogin)
chat_GM_items.jpg


Thanks Guys!
 
Last edited:

kusanagy

Respected Member
an account that is rank 1, or higher, this script will automatically be added, GM items (Armor Master).

:Cry:
 

kusanagy

Respected Member
if you have lost 1 item, you have to delete all GM items, your character has to disconnect and re-enter, you will again give the items.
 
Top