function onStepIn(cid, item, position, fromPosition) local config = { uniqueid = 1234, ---item unique id vipstorage = 1234, ---- storage of vip player kickpos = {x=1232, y=234, z=234, stackpos=1 } --- position where non vip player will be kicked } if(item.uid == config.uniqueid) then if (getPlayerStorageValue(cid, config.vipstorage) == 0) then doTeleportThing(cid, config.kickpos) doCreatureSay(cid, "Only Vip players can pass here!, TALKTYPE_ORANGE_2, getCreaturePosition(cid)) else doPlayerSendTextMessage(cid, 20, 'Hiho vip Player!') end return TRUE end