Postado Julho 18, 2014 12 anos function onSay(cid, words, param)local cargas = 10 -- quantas vezes ira refletirif getPlayerStorageValue(cid, 19273) <= 0 and getPlayerStorageValue(cid, 19274) - os.time() < 0 thensetPlayerStorageValue(cid, 19273, cargas)setPlayerStorageValue(cid, 19274, os.time() + 300*1000)elsedoPlayerSendTextMessage(cid, 28, "Você só podera usar denovo daqui [".. getPlayerStorageValue(cid, 19274) - os.time() .. ] Segundos.")endreturn trueend Tenho Uma Duvida Como Eu Coloco So Pra VOC 405 E 500 Pode usar e se puderem ajuda so poder usar no level 400
Postado Julho 19, 2014 12 anos function onSay(cid, words, param) local vocs = {"500", "405"} -- ID Vocation local cargas = 10 -- quantas vezes ira refletir if not isInArray(vocs, getPlayerVocation(cid)) then doPlayerSendTextMessage(cid, 28, "Você não pdoe usar essa magia.") return true end if getPlayerStorageValue(cid, 19273) <= 0 and getPlayerStorageValue(cid, 19274) - os.time() < 0 then setPlayerStorageValue(cid, 19273, cargas) setPlayerStorageValue(cid, 19274, os.time() + 300*1000) else doPlayerSendTextMessage(cid, 28, "Você só podera usar denovo daqui [".. getPlayerStorageValue(cid, 19274) - os.time() .. "] Segundos.") end return true end
Postado Julho 19, 2014 12 anos Autor function onSay(cid, words, param)local vocs = {"500", "405"} -- ID Vocationlocal cargas = 10 -- quantas vezes ira refletirif not isInArray(vocs, getPlayerVocation(cid)) thendoPlayerSendTextMessage(cid, 28, "Você não pdoe usar essa magia.") doSendMagicEffect(getPlayerPosition(cid), 10)return trueendif getPlayerStorageValue(cid, 19273) <= 0 and getPlayerStorageValue(cid, 19274) - os.time() < 0 then doSendMagicEffect(getPlayerPosition(cid), 10)setPlayerStorageValue(cid, 19273, cargas)setPlayerStorageValue(cid, 19274, os.time() + 300*1000)elsedoPlayerSendTextMessage(cid, 28, "Você só podera usar denovo daqui [".. getPlayerStorageValue(cid, 19274) - os.time() .. ] Segundos.") doSendMagicEffect(getPlayerPosition(cid), 10)endreturn trueend Pronto Tah Com Effect So Edita o 10 < Pro Effect Que Voce Quiser Editado Julho 19, 2014 12 anos por Rafael Mateus (veja o histórico de edições)
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.