JU
pedido

Script Para Area Vip Help

Por juninho100k, 31 de jul. de 2012 em Scripts

script
3
718
juninho100kJ
31 de julho de 2012 às 21:03

FIZ UMA VIP3 NO SERVIDOR E PRECISO DE MOVEMENTS PARA NÃO DEIXA PLAYER SEM A STORAGE 7527 ENTRAR

 

ESPERO PELA RESPOSTA OBRIGADO !!

SkyLighS
31 de julho de 2012 às 21:43

este aki nao e meu mas tente

 

-- Script Vip Sytem 1.0 --
function onStepIn(cid, item, position, fromPosition)
local config = {
msgDenied = "Você não e vip ,para adqrir sua vip fale !buyvip que custa 1KK", -- msg que ira retornar se o player n for vip
msgWelcome = "Seja Bem Vindo a Area vip." -- msg de quem e vip quando entrar
}
if getPlayerStorageValue(cid, 13545) - os.time() <= 0 then -- A Storage da vip que vc ira colocar no movements.xml
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
return TRUE
end

juninho100kJ
31 de julho de 2012 às 21:57

Pegou , porem quando faço o comando !comprardonate o player não consegue entrar mesmo ja tendo comprado a VIP.