Postado Julho 4, 2013 12 anos Crie um arquivo chamado tilepremium.lua na pasta data/movements/scripts e cole isso function onStepIn(cid, item, fromPosition, toPosition) if isPlayer(cid) and getPlayerPremiumDays(cid) <= 0 then doTeleportThing(cid, fromPosition, TRUE) doPlayerSendCancel(cid, "You don't have access to this area") end return TRUE end Adicione a seguinte linha no arquivo movements.xml que se encontra na pasta data/movements <movevent type="StepIn" actionid="6587" event="script" value="tilepremium.lua" /> Não testado. Dúvidas? Me avise. Att. Giovani Rodrigo Spoiler local config = { delrey = getPlayerCarValue(cid, DELREY), cigarro = getPlayerCancer(cid, DERBY), prostituta = getPlayerAIDS(cid, cracuda), tresOitao = getPlayerRevorvi(cid, 38) } if(delrey == "Ligado" and cigarro == "Aceso" and prostituta == "No Colo" and tresOitao == "Carregado") then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Começou o fim de semana. #PAS") end
Postado Julho 4, 2013 12 anos Dúvida sanada, tag adicionada. Tópico movido! Spoiler local config = { delrey = getPlayerCarValue(cid, DELREY), cigarro = getPlayerCancer(cid, DERBY), prostituta = getPlayerAIDS(cid, cracuda), tresOitao = getPlayerRevorvi(cid, 38) } if(delrey == "Ligado" and cigarro == "Aceso" and prostituta == "No Colo" and tresOitao == "Carregado") then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Começou o fim de semana. #PAS") end
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.