xanter1123
New Member
- Joined
- Jan 23, 2009
- Messages
- 13
- Reaction score
- 1
Witam, mam problem
napisalem prosty skrypt ktory dziala nie w ta strone co chcialbym :/.
Chcialem by teleportowal na "x" wtedy kiedy postac NIE MA wpisane Value.
A wychodzi, ze gdy MA to teleportuje.
czytalem poradniki i znalazlem "!=" lecz wyskakuje mi blad
napisalem prosty skrypt ktory dziala nie w ta strone co chcialbym :/.
Code:
function onUse(cid, item, position, fromPosition)
local storageValue = 1500
status = getPlayerStorageValue(cid,storageValue)
if (item.uid == 44444) and (status >1) and (status <1) == TRUE then
doTeleportThing(cid, fromPosition, FALSE)
end
return TRUE
end
A wychodzi, ze gdy MA to teleportuje.
czytalem poradniki i znalazlem "!=" lecz wyskakuje mi blad
Code:
[06/06/2009 13:55:01] Warning: [Event::loadScript] Can not load script. data/actions/scripts/quests/prøve.lua
[06/06/2009 13:55:01] data/actions/scripts/quests/prøve.lua:5: ')' expected near '!'
Last edited: