I want to ask you that you know how to make diesappear a tible after go to tp
Thx for any help
@Colandus
Thx ;]
Thx for any help
PHP:
function onStepIn(cid, item, pos)
if isPlayer(cid) == 1 then
tible = getPlayerItemCount(cid,1970)
if tible >= 1 then
newpos = {x=33175,y=32936,z=15}
doSendMagicEffect(pos,12)
doTeleportThing(cid,newpos)
doSendMagicEffect(newpos,12)
elseif tible == 0 then
out = {x=33253,y=32833,z=8}
doSendMagicEffect(pos,12)
doTeleportThing(cid,out)
doSendMagicEffect(out,12)
end
end
end
@Colandus
Thx ;]
Last edited: