Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Nope. The exact one i posted.
function onUse(cid, item, fromPosition, itemEx, toPosition)
local kame = {lookType = 360}
doPlayerSetVocation(cid,286)
doCreatureChangeOutfit(cid, kame)
doRemoveItem(item.uid, 1)
doRemoveCreature(cid)
return true
end
Lost 4 box could land in protection zone or house, but script broadcasts fixed value on the start wich is itemsrand, but should broadcast created items at the end instead.
Guess "posy" is your "pos" table. And what do you store in there are all positions of a map?
If its some unique item you...
Like i said, go to the server data you copied files from and search the folder for missing function. You can copy them to global.lua.
If there are whole lib files you can copy them all somewhere to lib folder and then you edit data/lib/lib.lua and add new 'dofile()' lines with directories.
One way is to script it as action, another is to make something like player:castSpell() function, but this one requires source edits.
Anyway, weapons are usually 'Use with...' items, so i guess you'll have to use them on something first to make it work.
That's why you should state what server version are you using and what you did before it broke in your very first post.
You've probably copied a part of a data from one distro to another, because you are missing functions.
Swap your npcsystem for the one that is originally on TFS you are using...
if player:getGroup():getId() < 2 then
return true
end
(assuming tutor is group 2)
instead of
if not player:hasFlag(PlayerFlag_CanBroadcast) then
return true
end
//btw. this one's basic. you could learn to do something like this at least.
Since most people have more groups and not every character is a male:
if thing:getGroup():getId() > 1 and not thing:getGroup():getAccess() then
if thing:getSex() == 0 then
description = string.format("%s\nShe is a %s.", description, thing:getGroup():getName())
else
description =...