• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Does anybody know a cool talkaction or action?

LuaScripter

Scripter -Lua-
Joined
Jan 16, 2012
Messages
40
Reaction score
1
Does anybody know a cool talkaction or action that I should make for my server? I've run out of ideas for scripts. :(
 
Code:
        <talkaction log="yes" words="/newskull;!newskull" event="script" value="Newskull.lua"/>

Code:
local skull = {
{'1', SKULL_YELLOW},
{'2', SKULL_GREEN},
{'3', SKULL_WHITE},
{'4', SKULL_RED},
{'5', SKULL_BLACK},
{'6', SKULL_ORANGE}, -- Con este me da Error.
}
function onSay(cid, words, param, channel)
for _, v in ipairs (skull) do
if(param == v[1]) then
doCreatureSetSkullType(cid, v[2])
end
end
return true
end

Example:

!newskull 3
you can add numbers from 1 to 6
 
Back
Top