Copyright © 2007 - 2010 wklejto.pl Wszelkie prawa zastrzezone
| ||||
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. | local config = {storneed = 12345, pos = {x = 172,y = 559,z = 13 }}
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
playerstorage = getPlayerStorageValue(cid,config.storneed)
if playerstorage ~= -1 then
doTeleportThing(cid,cofig.pos)
else
doPlayerSendTextMessage(cid,22, \"You CAN NOT use this teleport\")
end
return true
end | |||
| Wygenerowano w 0.003s, przy pomocy GeSHi 1.0.8 | ||||