

FeehGusso
Campones-
Total de itens
65 -
Registro em
-
Última visita
Tudo que FeehGusso postou
-
ow... akela parte q entra no teleport aparece isso 14:18 Sua vip acabara em 158 dias. so ke eu keria q pegasse o dia q termina e a hora minutus tudu q termina... meu script ta assim ow. -- Script Vip Sytem 1.0 -- function onStepIn(cid, item, position, fromPosition) local config = { msgDenied = "Somente jogadores vip's podem entrar.", msgWelcome = "Sua vip acabara em "..math.floor((getPlayerStorageValue(cid, 13540) - os.time())/(24 * 60 * 60)).." dias." } if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then 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) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return TRUE end
-
eu tenhu sistema vip por item... esta funcionando perfeitamente... mas eu ativo o item em 1 char da conta... digamos q tenha 5 char na conta... ele so da vip pra 1 conta... eu nao kero faze sistema de kydrai nao sei kem ... kero resolve por item... o ot antigo q eu jogava era assim... alguem ajuda ae?
-
sem kere abusa cara... mais eu tenhu 3 char na mesma conta por exemplo... eu uso item em 1 deles... como fasso pra conta inteira vira vip? pra nao ter q ativa 3 itens?
-
cara eu ti amo... (L) + RESP valeu mesmo... eu axei um msn seu aki e te add... sei la se eh seu... se eu precisa eu volto aki... VALEU MESMO (L)
-
vo manda os id das vips... 10310 10311 10312 10314 10309 dai eu fui em creatures.xml e colokei isso... <event type="login" name="VipStats" event="script" value="vipe.lua"/> ai criei um arkivo .lua la na script normal e colokei o nome para vipe... dai cokokei isto dentro. function onLogin(cid) local ne = getCreatureName(cid) local id = getPlayerGUID(cid) local na = string.sub(getCreatureName(cid), 7) if getPlayerStorageValue(cid, 13540) - os.time() > 0 and string.find(getCreatureName(cid), "[VIP]") == FALSE then setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)*2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)*2) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `name` = `[VIP] "..ne.."` WHERE `id` = "..id) end if getPlayerStorageValue(cid, 13540) - os.time() <= 0 and string.find(getCreatureName(cid), "[VIP]") == TRUE then setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)/2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)/2) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `name` = "..na.." WHERE `id` = "..id) end return TRUE end
-
Cara 1 deles deu certo... quando eu entro no teleport aparece quando q a vip vai acaba... mais tipo... eu fiz tudu certinho la em creatures tal... mais eu ativo a vip 15 dias la relogo e nada acontece... tipo... ainda nao intendi como funciona... pke nao tem q tar ligado no item? tipo... pelo id do item? pke eu ativo ele nada acontece... :S
-
cara... eu tenhu algumas duvidas q demora pra postar aki... eu te add no msn e vc tenta me ajudar... sobre site e talz.. se eu consegui vc pode ate me passar sua conta q eu deposito o valor q vc keira em dinheiro... eu preciso muito de uma ajuda aki...
-
ok. eu colokei a script q vc fez em creatures la e colokei no xml clico no item e nada acontece... nem um erro ao carregar nada... so nao acontece nada... :S quanto a script do teleport esta aki detalhe q eu notei... o id do chao eh 13700... nao sei se enfluencia... -- Script Vip Sytem 1.0 -- function onStepIn(cid, item, position, fromPosition) local config = { msgDenied = "Somente jogadores vip's podem entrar.", msgWelcome = "Seja Bem Vindo a area VIP." } if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then 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) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return TRUE end eu sei como funciona o sistema... mais vc fez por login ali nao intendi muito bem... eh por item o id eh 10310 eu clico nele nao acontece nada... os outros estao assim la em actions olha... <action itemid="10311" script="VIP30.lua" /> dai tem a scrip em ACTIONS.LUA la... e mesmo colokando oke vc envio da erro na vip... nao sei cara... se vc me add no msn agt pode conversa susse...
-
ta ok... mais vc falo pra eu por isso em creatures la... <event type="login" name="VipStats" event="script" value="NomeDoArquivo.lua"/> mais cara... meu sistema ta no actions... nao tem nada no creatures... vc pode me add no msn pra explicar melhor? rvt_nba@hotmail.com... valeu... e outra... quando eu entro no teleport so aparece Bem vindo a area vip! eu kero q apareca cada vez a passar pelo piso quando acaba a vip... n sei se conhece igual o ot infinity-sky
-
eh assim... tem 5 itens... cada 1 deles da vip tipo... digamos id 001 --- 15 dias id 002 --- 30 dias id 003 --- 60 dias id 004 --- 90 dias id 005 --- 360 dias... ai eh assim vc clica em um deles dai ganha vio por determinados dias... nao tem mais o comando !buyvip eu tirei... ai eu kero q de o nome [VIP] e q tente dobra a life a mana quando ativa ele. le la em cima oke eu pedi vo manda os arquivos dele. ACTIONS.xml no caso ta aki ow... <!-- Other --> <action itemid="10310" script="VIP15.lua" /> <action itemid="10311" script="VIP30.lua" /> <action itemid="10312" script="VIP60.lua" /> <action itemid="10314" script="VIP90.lua" /> <action itemid="10309" script="VIP.lua" /> ai cada script dos actions ta assim function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 15 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end RELEMBRANDO: eu kero q de nik [VIP] somente uma vez ao ativar o item... RETIRE O NIK [VIP] quando acabar os dias... so volte se reativar o item kero q apareça SUA VIP ACABA EM : tal dia... e que se puder fazer quando ativar dobrar a life e a mana... por ex: 20k de mana 20k de life... vai pra 40k de life , 40k de mana... valeu ae
-
aki ta o creatures.xml <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="login" name="ExpVip" script="vipexp.lua"/> <event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/> <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> <event type="login" name="VipLogin" script="vip.lua"/> <event type="PrepareDeath" name="pvparena" script="pvparena.lua"/> <event type="advance" name="advance" script="advance.lua"/> <event type="attack" name="attackguild" script="attackguild.lua"/> <event type="death" name="incendio" script="incendioMonster.lua"/> </creaturescripts> e aki ta o talkactions.xml <?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Gods --> <talkaction log="yes" words="/addskill" access="5" event="function" value="addSkill"/> <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/> <talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/> <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/> <!-- Community Managers --> <talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/> <talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/> <talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/> <talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/> <talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/> <talkaction access="4" words="/z" event="script" value="magiceffect.lua"/> <talkaction access="4" words="/x" event="script" value="animationeffect.lua"/> <talkaction access="4" words="/y" event="script" value="animatedtext.lua"/> <talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/> <talkaction log="yes" words="/c" access="3" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/> <talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/> <talkaction log="yes" words="/mc" access="3" event="script" value="multicheck.lua"/> <talkaction log="yes" access="3" words="/wp" event="script" value="waypoints.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <!-- Tutors --> <talkaction log="yes" words="/baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="/pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!frags" event="script" value="frags.lua"/> <talkaction words="!online" event="script" value="online.lua"/> <talkaction words="!uptime" event="script" value="uptime.lua"/> <talkaction words="!pvp" event="script" value="pvp.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!serverinfo" event="script" value="serverinfo.lua"/> <talkaction words="/commands" event="script" value="commands.lua"/> <talkaction words="!addon" event="script" value="addondoll.lua"/> <talkaction words="!vipdays;!buyvip;/checkvip;/addvip;/delvip" script="systemvip.lua"/> <!-- Houses --> <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/> <talkaction words="alana som" filter="word-spaced" event="script" value="leavehouse.lua"/> <!-- Guilds --> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> <!-- (Deprecated) Redirect old '/' to '!' --> <talkaction words="/online" hide="yes" event="script" value="online.lua"/> <talkaction words="/uptime" hide="yes" event="script" value="uptime.lua"/> <talkaction words="/pvp" hide="yes" event="script" value="pvp.lua"/> <talkaction words="/serverinfo" hide="yes" event="script" value="serverinfo.lua"/> <talkaction log="yes" access="1" hide="yes" words="!pos" event="script" value="position.lua"/> <!-- Custom systems --> <action itemid="8187" script="systemvip.lua" /> <talkaction words="!aol" script="systemaol.lua" /> <talkaction words="!notice" event="script" value="notice.lua"/> <talkaction words="!rank" script="ranks.lua"/> <talkaction words="!service" event="script" value="Fragas.lua"/> <talkaction words="!jail" script="Cadeia.lua"/> <talkaction words="!unjail" script="Cadeia.lua"/> <talkaction words="/jail" script="Cadeia.lua"/> <talkaction words="/unjail" script="Cadeia.lua"/> <talkaction words="!necromancer" script="demonic.lua"/> <talkaction words="!nightmare" script="love.lua"/> <talkaction filter="word" words="/guild" script="guildcast.lua"/> <talkaction words="!afk" event="script" value="afk.lua"/> <talkaction words="!treinando" event="script" value="treinando.lua"/> <!-- custon By Revange --> <!-- pollsystem talkactions --> <talkaction words="!createpoll" event="script" value="PollSystem.lua"/> <talkaction words="!activatepoll" event="script" value="PollSystem.lua"/> <talkaction words="!cancelpoll" event="script" value="PollSystem.lua"/> <talkaction words="!seepoll" event="script" value="PollSystem.lua"/> <talkaction words="!seeresults" event="script" value="PollSystem.lua"/> <talkaction words="!remvotes" event="script" value="PollSystem.lua"/> <talkaction words="!rempoll" event="script" value="PollSystem.lua"/> <talkaction words="!votepoll" event="script" value="PollSystem.lua"/> <talkaction words="love" script="love.lua"/> <talkaction words="!attackguild" event="script" value="attackguild.lua"/> <talkaction words="!vipdays" event="script" value="vip/vipdays.lua" /> <talkaction words="/addvip" script="addvip2.lua"/> <talkaction log="yes" words="/vip" access="5" event="script" value="vip/addvipp.lua" /> </talkactions>
-
faz a xp aumenta em 20 %
-
tem esse q se chama vipsystem -- configs templepos = {x=200,y=200,z=7} cityid = 1 -- end configs function onLogin(cid) timenow = os.time() viptime = getPlayerStorageValue(cid,29000) quantity = math.floor((getPlayerStorageValue(cid,29000) - timenow)(360024)) if quantity = 0 and viptime 0 then setPlayerStorageValue(cid,29000,0) doTeleportThing(cid,templepos) -- setPlayerTown (estou sem minha listinha de functions para ver qual function que é para colocar townid), você pode colocar aqui se quiser end return TRUE end tem esse q eh vipadd function onAdvance(cid, oldlevel, newlevel) days = 2 daysvalue = days*3600*24 storageplayer = getPlayerStorageValue(player,13540) timenow = os.time() if storageplayer == -1 or storageplayer == 0 then time = timenow+daysvalue else time = storageplayer+daysvalue end if getPlayerLevel(cid) == 180 and getPlayerStorageValue(cid,9090) == -1 then setPlayerStorageValue(cid,13540,time) setPlayerStorageValue(cid,9090,1) doPlayerSendTextMessage(cid,22, "Você recebeu dois dias de Vip.") end return TRUE end tem esse q eh vip2 local pos = {x=160, y=51, z=7} pos = {x=160, y=51, z=7} function onLogin(cid) if vip.hasVip(cid) == true then if getPlayerStorageValue(cid,55555) ~= 1 then setPlayerStorageValue(cid,55555,1) end elseif vip.hasVip(cid) ~= true and vip.getVip(cid) ~= 0 then if getPlayerStorageValue(cid,55555) == 1 then doTeleportThing(cid, pos, true) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sua Vip ACABOU!") doPlayerSendTextMessage(cid,22,"Sua Vip ACABOU!") setPlayerPromotionLevel(cid, 1) setPlayerStorageValue(cid,55555,2) elseif getPlayerStorageValue(cid,55555) == -1 then setPlayerStorageValue(cid,55555,2) end end return true end
-
e ae galera... eu tenhu sistema por item q usa actions la... vo mandar abaixo a script function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 15 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end ali no caso 15 dias... quando eu entra na area vip aparece : seja bem vindo a area vip... e eu keria q aparecesse em branco quando q a vip ira termina... por exemplo se eu ativa ela por 1 dia no dia 5/03 eu kero q apareca: sua vip acaba em 6/06 e outra... tem q dar o nome [VIP] no nik 1 vez so... q eu use o item ele de o nome e nao de mais de 1 vez... ele desloga o char e vem com [VIP] ja... usando ele 2 vezes ele tem q fala : vc ja possui nik [VIP] e quando acaba os dias remover o nik [VIP] ... e se puderem fazer a life a e mana dobrarem ao ativar a vip... poor exemplo. se eu tenhu 20k de life 20k de mana quando ativa a vip fika 40k de mana e 40k de life... se alguem puder ajudar eu agradeco muito...
-
eh assim.. eu pretendo vender no site relogio de xp. entao quando o player coloka o relogio ele aumenta em 20 % a xp. mais quando tira aparece sua exp voltou ao normal. mas que ele continuasse um relogio... dai coloka devolta e aparece sua exp aumentou em 20 % eu keria um relogio de xp infinito... se alguem puder ajudar... id do relogio : 8187
-
Valeu cara... ti amo... tava precisando mesmo... agora dexei song q no caso eh pos , 18... muito obrigado
-
eu ja tenhu implantado no meu ot teleports falantes... mais eu keria q alem do texto ele soltasse um som... igual da magia exori song... eu ja vi no ot inf-sky... no nomento sai um sangue... vejam minha script so o final... function onThink(cid, interval, lastExecution) for text, pos in pairs(config.positions) do doSendAnimatedText(pos, text, math.random(1, 255)) doSendMagicEffect(pos, text , math.random(1, 255)) end return TRUE end se alguem puder me ajudar
-
Aeee Gente..Nao Consegui ainda a script .. mais eu consegui uma coisa.. Todas minha Wand's do ot é bom Script..entao olhem local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDEMAGE) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -942, 0, -1023) function onUseWeapon(cid, var) return doCombat(cid, combat, var) end[b/] Como Vc's Podem Ver ta saindo Como Ice e chegando em holy..entao ja ke falaram ke é por Script..me ajuda ae ja tentei ENERGYDEMAGE nao deu.. HELPP !
-
Aonde eu ponho issu ? date_default_timezone_set('America/Sao_Paulo'); oO
-
Fiz issu ai..mais nao deu clikei no item nada aconteceu..so funfa assim function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 30 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end
-
Boooa lek..essa script funcionou aki certinho ..mais tenho uma duvida keria tua scprit desse nome [VIP] ...e quando acabar a vip sai o nome vip ..valew tenta ae ;x
-
Ninguem ainda me ajudouuuuuuuu.. HELLLLLLP !!
-
Legal a script .. mais é um seguinte eu keria essa script sua funcionace na minha script olha - Minha Scprit function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 30 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") db.executeQuery("UPDATE `players` SET `name` = '[Vip] "..name.."' WHERE `id`= " .. nome .. ";") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end Como Vc Pode Ver Vc Clica no Item e ganha vip..mais keria arrumar issu..por exemplo..quando acabar a vip SAI o nick [VIP] ..esse é o problen tmb..quando vc clica na vip certo?..vc ganha [VIP] Player ..se vc compra vip denovo fica [VIP][VIP] Player ..keria sua script na minha scprit ...vlw se vc conseguir fazer manda ae !
-
humm..tipo eu keria muito ke num ot ke joguei - mafiaeasy.servegame.com..uma staff tacava essas bolinhas e eu keria o codico :\..se alguem souber poste aki por favor :\ Olhem a Bolinha ke eu tanto falo - Bolinha.bmp
-
Bom ..bom vc's sabem o exori vis ?...entao quando vc taca o exori vis quando chega no player faz uma bolinha azul..keria esse codico pra por numa wand no meu ot..falam ke é vis , exori wave .. mais ja tentei todos e nao deu alguem pode me ajuda e mandar pra mim o codico? vlw.. Ai ta meus wepons <wand id="7879" level="1" mana="1" min="1500" max="1540" type="Enegy Strike" event="function" value="default"> <!-- Wand of Vortex --> <vocation id="1"/> <vocation id="2"/> Podem ver ke energy strike nao deu u.u :\..
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.