WiLDTuRTLE
Member
- Joined
- Feb 26, 2011
- Messages
- 478
- Reaction score
- 5
Code:
function onSay(cid, words, param, channel)
local pzLocked = isPlayerPzLocked(cid)
if pzLocked == false and getHouseByPlayerGUID(getPlayerGUID(cid)) then
doTeleportThing(cid, getHouseEntry(getHouseByPlayerGUID(getPlayerGUID(cid))))
else
doSendMagicEffect(getPlayerPosition(cid),0)
end
return true
end
Yep, it works but its made so if player is PZ it doesnt teleport, well it do /: Tried few things, i can't get it to not work if player pz... or my server is bugged?
tyty