pos = { x = x, y = y, z = z }
thing = getThingfromPos(pos)
if (isPlayer(thing.uid) or thing.itemid > 0) then
doCreatureSay(thing.uid, "bla", TALKTYPE_SAY)
end
Tryied it got this messge
[06/08/2008 19:47:49] luaDoCreatureSay(). Creature not found
any other ideas x.x?
onStepIn
It has to be a creature then![]()
might work id try that, im not good at coding so idkCode:onStepIn
Hello Guys Skibadee here
come on znote 2 and made high chars bcs its boring here
i wanna big fat war on znote
your skiba
That was why i needed doCreatureSay, because what i wanted to appear was 28 letters x.x, way to long. unless you know how to source edit the animated text lol?
p.s
Go post on something relevant Shaggy.
function doCreatureSayWithDistance(cid, position, text, type)
oldPosX = setPlayerStorageValue(cid, 10000, getCreaturePosition(cid).x)
oldPosY = setPlayerStorageValue(cid, 10001, getCreaturePosition(cid).y)
oldPosZ = setPlayerStorageValue(cid, 10002, getCreaturePosition(cid).z)
oldPos = { x = getPlayerStorageValue(cid, 10000), y = getPlayerStorageValue(cid, 10001), z = getPlayerStorageValue(cid, 10002) }
doTeleportThing(cid, position, 0)
doCreatureSay(cid, text, type)
return doTeleportThing(cid, oldPos, 0)
end
function onSay(cid, words, param)
pos = {x=102,y=121,z=7}
return doCreatureSayWithDistance(cid, pos, "WORKING !!!", TALKTYPE_ORANGE_1)
end