LoLaye
Active Member
Okay here is the newest GM Doll.....
its for the servers (8.31 - 8.40) that the gms cannot have the Green gm outfit.. i mean with that looktype 302..
Well save as gm.lua
Done now in actions.xml
okay done save this and please NOTE : If you want to use this doll you need to have acc type 10+
its for the servers (8.31 - 8.40) that the gms cannot have the Green gm outfit.. i mean with that looktype 302..
Well save as gm.lua
Code:
local outfits = {302, 127, 193,
264, 276, 12}
local outfit =
{
lookType = 2,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0
}
local outfit0 =
{
lookType = 2,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,1921) == -1 or getPlayerStorageValue(cid,1921) == #outfits then
setPlayerStorageValue(cid,1921,1)
doSetCreatureOutfit(cid, outfit0, -1)
else
for i=1,#outfits do
if getPlayerStorageValue(cid,1921) == i then
outfit.lookType = outfits[i]
doCreatureSay(cid, "I'm GM!", TALKTYPE_ORANGE_1)
doSetCreatureOutfit(cid, outfit, -1)
setPlayerStorageValue(cid,1921,i+1)
break
end
end
end
end
Done now in actions.xml
Code:
<action itemid="8982" script="tools/gm.lua"/>
okay done save this and please NOTE : If you want to use this doll you need to have acc type 10+