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!
* Added fully working and so waited /ghost command (Thanks to Pedro B)
(Y)
Anyways, You still use the bad way of the creaturescripts :(
Really, you should make most of the functions(specially onThink and onLook) need registering before they are executed, this should increase the performance...
blind typing isnt that hard after you train a bit, and with some backspaces it can be perfect :D
btw, everything on this post, including this phrase, was made from blind typing... not really blind, but I just did not look at the keyboard :D
Heya.
Well, I just noticed that TFS is missing something that exists on OTS: the onKill() event.
onKill() is a creature event really useful, 'cause it is only executed when registered and you know which creatures the creature X killed, not which creatures died by X(there is a difference)...
@up
try this one:
function onSay(cid, words, param)
if words == "!setpos" then
local pos = getCreaturePosition(cid)
setGlobalStorageValue(4001,posToIndex(pos))
doPlayerSendTextMessage(cid,24,"New position x:" .. pos.x .. ", y:" .. pos.y .. ", z:"..pos.z)
elseif words ==...
@up
Summing it up, it's what you said.
MySQL was mainly made for multiple server hosting. With MySQL you have to create a server and set it up. Also, when using it you must connect to the database.
Meanwhile, all you need for SQLite is a file, no setups, nothing really needed to run it...
Well, before all, I must tell you that this tutorial was made based on OTS and not on TFS. If any moderator/admin or whatever feels that it should be edited to fit TFS, do it, I don't really care.
This is just a Copy-and-Paste from my tutorial on another forum.
I found that many people have...
Hello guys!
Well, I almost never look at this forum, but since I was bored I decided to post here two simple functions. They are useful IMO, they are called indexToPos() and posToIndex(): they convert positions to numbers and numbers to positions! :o
yeye, I released it on OpenLua also...