- Fórum
- OTServ
- Recursos
- Scripting
- Actions e Talkactions
- Script Pc quer Desbugar
LU
action
Script Pc quer Desbugar
Por luizmachado1, 20 de out. de 2015 em Actions e Talkactions
script testado em pokeflash v5
1
1k
Por luizmachado1, 20 de out. de 2015 em Actions e Talkactions
info
Grupo: Artesão
Registrado: 08/10/15
Posts: 103
Reputação: +34
-- PC QUER DESBUGAR SPEED CREDITOS BY LuizMachado1 obs(Testado Em Base Pokemon Flash v5) --
function onUse(cid, item, fromPosition, itemEx, toPosition)
----- Config -----
if getPlayerStorageValue(cid, 24000) == 5 then
return doPlayerSendCancel(cid, "Não Poder Usar Esse Pc Quando Estiver Usando ride.")
end
if getPlayerStorageValue(cid, 23000) == 5 then
return doPlayerSendCancel(cid, "Não Poder Usar Esse Pc Quando Estiver Usando Fly.")
end
if (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then
doPlayerSendCancel(cid,"Desculpe, não pode estar em battle")
return TRUE
end
----- Fim Da Config -----
doPlayerSendTextMessage(cid,22,"Obrigado Por Usar Esse Computador .")
doSendMagicEffect(toPosition, 207)
getCreatureSpeed(cid)
end
Editado Outubro 20 por luizmachado1