Guest User

Untitled

a guest
Oct 17th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1.         local group = item.actionid - 150
  2.         if(group >= 0 and group < 30) then
  3.             if(group > getPlayerGroupId(cid)) then
  4.                 doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
  5.                 return true
  6.             end
  7.  
  8.             doorEnter(cid, item, toPosition)
  9.             return true
  10.         end
Add Comment
Please, Sign In to add comment