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!
hello guys how i can make if player stand on items and use this items create other items
how?? if player position = items position create other items in same position under the player
tfs 0.4
Just one item onStepIn? or keeps creating as long as the players is standing on that SQM?
it can be something simple like this, You can edit it to put a message or what ever you want.
Lua:
function onStepIn(cid, item, position, fromPosition)
if not isPlayer(cid) then
return true
end
doCreateItem(youritemid,1,position)
return true
end
Just one item onStepIn? or keeps creating as long as the players is standing on that SQM?
it can be something simple like this, You can edit it to put a message or what ever you want.
Lua:
function onStepIn(cid, item, position, fromPosition)
if not isPlayer(cid) then
return true
end
doCreateItem(youritemid,1,position)
return true
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
local PlayerPos = {x = 0, y = 0, z = 0}
if getPlayerPosition(cid) == PlayerPos then
doCreateItem(youritemid,1,PlayerPos)
end
return true
end