Hi, I tried to do a script to spell what give player "invisible" Gm (or as a command / invisible, you do not see nick or outfit) which disappears after 3 seconds, and restores us to a normal outfit.
However, the script that did not work, thanks in advance for any help.
However, the script that did not work, thanks in advance for any help.
local function something(parameters)
doPlayerSay(cid, "I'm invisible!", 16)
executeCommand(cid, "/invisible", "")
doSendMagicEffect(pos, 2)
end
local function something2(parameters)
executeCommand(cid, "/invisible", "")
doPlayerSay(cid, "Ouu..", 16)
end
addEvent(something, 0, parameters)
addEvent(something2, 1300, parameters)
end