• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Mały problem z drzwiami VIP

AvenissPL

New Member
Joined
Dec 19, 2011
Messages
6
Reaction score
0
Code:
function onUse(cid, item, frompos, item2, topos)
	viparea = {x=1137, y=812, z=6}
	gracz = getCreaturePosition(cid)

	if (getPlayerStorageValue(cid,21444) > 0) or (getPlayerLevel(cid) < 250) then
			doTeleportThing(cid, viparea)	
			doSendMagicEffect(gracz,2)			
			doSendMagicEffect(viparea,10)
	else
        doPlayerSendCancel(cid, "Nie masz VIP Access.")
		doSendMagicEffect(gracz,2)
	end
return true
end

Co jest z tym źle, czemu przenosi, gdy gracz nie ma premium?

Dziękuję serdecznie za pomoc.
 
bo jest warunek "or"
więc przenosi jeśli gracz ma premium lub ma mniejszy lvl niż 250
zmień "or" na "and"
 
Back
Top