LU
action

Script Pc quer Desbugar

Por luizmachado1, 20 de out. de 2015 em Actions e Talkactions

script testado em pokeflash v5
1
1k
20 de outubro de 2015 às 14:09

-- 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