Vodkart 1515 Postado Março 14, 2012 Share Postado Março 14, 2012 tem com por exasted na mensagem para evitar spam? o seu é por vip ou por premium? Link para o comentário Compartilhar em outros sites More sharing options...
Dersinho 4 Postado Março 14, 2012 Share Postado Março 14, 2012 os cript e akele que vc posto mesmo mais tava pensando em por exasted pra nao fica span muita gente faando al mesmo tempo >>> sim so premium podem usar Link para o comentário Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Março 14, 2012 Share Postado Março 14, 2012 tent assim function onSay(cid, words, param) local config = { premium = true, cobrar = true, price = 1000, storage = 87845, -- n mexa exausted = 60 -- em segundos } if param == "" or not param then doPlayerSendCancel(cid,"digite sua mensagem.") return true elseif config.premium == true and not isPremium(cid) then doPlayerSendCancel(cid,"Você não é premium.") return true elseif getPlayerStorageValue(cid, config.storage) >= os.time() then doPlayerSendCancel(cid, "Espere " .. getPlayerStorageValue(cid, config.storage) - os.time() .. " segundos para mandar outra mensagem.") return true elseif config.cobrar == true and not doPlayerRemoveMoney(cid, config.price) then doPlayerSendCancel(cid,"Você não tem "..config.price.." gps para mandar uma mensagem.") return true end doBroadcastMessage(""..getCreatureName(cid).." ["..getPlayerLevel(cid).."]: " .. param .. "", MESSAGE_INFO_DESCR) setPlayerStorageValue(cid, config.storage, os.time()+config.exausted) return TRUE end Link para o comentário Compartilhar em outros sites More sharing options...
Dersinho 4 Postado Março 14, 2012 Share Postado Março 14, 2012 nossa vlw perfect funfo legal aki seu rep ja ta guardado hoje nao posso mais pois dei para o otro ali pela forsa de vontade de tentar ajudar vodika tem algum script que vc noa saiba .asUASUAUSUASUSHUSHU http://www.xtibia.com/forum/topic/182494-aure-bunus-plx/ <<< tem como me ajuda con essa duvida tbm ? Link para o comentário Compartilhar em outros sites More sharing options...
hithfrin 3 Postado Maio 17, 2012 Share Postado Maio 17, 2012 Malz por reviver mais como coloco pra "x" Level pd mandar a msg ? e tem como mudar as msg por classes ? kina: cor orange pally: cor blue sorc: cor white druid: cor green Obrigado ! a sua script me salvo Vodkart vlw ! Link para o comentário Compartilhar em outros sites More sharing options...
Zmovir 41 Postado Maio 19, 2012 Share Postado Maio 19, 2012 Da sim mais não sei as cores das mensagem você modifica ai bl? function onSay(cid, words, param)local config = { premium = true, cobrar = true, price = 1000, storage = 87845, -- n mexa exausted = 60 -- em segundos } local array = { --- vocação, cor da mensagem [1] = 12, [2] = 12, [3] = 12, [4] = 12, [5] = 12, [6] = 12, [7] = 12, [8] = 12 } if param == "" or not param then doPlayerSendCancel(cid,"digite sua mensagem.") return true elseif config.premium == true and not isPremium(cid) then doPlayerSendCancel(cid,"Você não é premium.") return true elseif getPlayerStorageValue(cid, config.storage) >= os.time() then doPlayerSendCancel(cid, "Espere " .. getPlayerStorageValue(cid, config.storage) - os.time() .. " segundos para mandar outra mensagem.") return true elseif config.cobrar == true and not doPlayerRemoveMoney(cid, config.price) then doPlayerSendCancel(cid,"Você não tem "..config.price.." gps para mandar uma mensagem.") return true end doBroadcastMessage(""..getCreatureName(cid).." ["..getPlayerLevel(cid).."]: " .. param .. "", array[getPlayerVocation(cid)]) setPlayerStorageValue(cid, config.storage, os.time()+config.exausted) return TRUE end Link para o comentário Compartilhar em outros sites More sharing options...
limathago 1 Postado Junho 11, 2012 Share Postado Junho 11, 2012 tent assim function onSay(cid, words, param) local config = { premium = true, cobrar = true, price = 1000, storage = 87845, -- n mexa exausted = 60 -- em segundos } if param == "" or not param then doPlayerSendCancel(cid,"digite sua mensagem.") return true elseif config.premium == true and not isPremium(cid) then doPlayerSendCancel(cid,"Você não é premium.") return true elseif getPlayerStorageValue(cid, config.storage) >= os.time() then doPlayerSendCancel(cid, "Espere " .. getPlayerStorageValue(cid, config.storage) - os.time() .. " segundos para mandar outra mensagem.") return true elseif config.cobrar == true and not doPlayerRemoveMoney(cid, config.price) then doPlayerSendCancel(cid,"Você não tem "..config.price.." gps para mandar uma mensagem.") return true end doBroadcastMessage(""..getCreatureName(cid).." ["..getPlayerLevel(cid).."]: " .. param .. "", MESSAGE_INFO_DESCR) setPlayerStorageValue(cid, config.storage, os.time()+config.exausted) return TRUE end LEK ME AJUDA AE O MEU E POR VIP , MAIS TIPO EU BOTO SOVIP , MAIS QUANDO OS VIP TENTA FALAR NO OT NAO CONSEGUEM , VEM UMA MSG E FALA QUE NAO SOU VIP ... POR QUE ISSU ? SI ALGUEM SOUBER ME AJUDEM PF ! MALZ POR REVIVER O TOPICO É PQ PRECISO MUITO ! Link para o comentário Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Junho 11, 2012 Share Postado Junho 11, 2012 e qual é seu sistema vip? Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados