• 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!

I need POPUP in this script

azzkaban

Monster Maker
Joined
Feb 23, 2010
Messages
1,101
Reaction score
195
Location
Iquique Chile
Code:
local message = [[ ahhh cigüeñaaa
barajim bada usa la la...
hachis!
fin]]

function onStepIn(cid, item, position, fromPosition)
local teleport = {x=271, y=680, z=7} -- Posição do teleport.
local effect = 10 -- Efeito do teleport.
        if isPremium(cid) == TRUE then
                doTeleportThing(cid, teleport)
                doPlayerSendTextMessage(cid,22,"Welcome to Azzkaban Valley")
                doSendMagicEffect(getPlayerPosition(cid), effect)
        else
                doPlayerPopupFYI(cid, message)
        end
return true
end
 
PHP:
local config = {
	message = "ahhh cigüeñaaa barajim bada usa la la... hachis! fin",
	effect = CONST_ME_TELEPORT,
	newPos = { x = 271, y = 680, z = 7 }
}

function onStepIn(cid, item, position, fromPosition)
	if not isPremium(cid) then
		doPlayerSendCancel(cid, "Only premmium players can use this object.")
		return FALSE
	end
	doTeleportThing(cid, config.newPos)
	doPlayerSendTextMessage(cid, 22, "Welcome to Azzkaban Valley")
	doSendMagicEffect(getPlayerPosition(cid), config.effect)
	doPlayerPopupFYI(cid, config.message)
	return TRUE
end
 
PHP:
local config = {
	message = "ahhh cigüeñaaa barajim bada usa la la... hachis! fin",
	effect = CONST_ME_TELEPORT,
	newPos = { x = 271, y = 680, z = 7 }
}

function onStepIn(cid, item, position, fromPosition)
	if not isPremium(cid) then
		doPlayerSendCancel(cid, "Only premmium players can use this object.")
		return FALSE
	end
	doTeleportThing(cid, config.newPos)
	doPlayerSendTextMessage(cid, 22, "Welcome to Azzkaban Valley")
	doSendMagicEffect(getPlayerPosition(cid), config.effect)
	doPlayerPopupFYI(cid, config.message)
	return TRUE
end

Thank you!!! Is perfect!
Muchas gracias!! Funciona perfectamente!! Te agrego reputación :D
 

Similar threads

Back
Top