Qual base usada?
- Forums
- OTServ
- Suporte
- Resolvidos
- [Resolvido] BIKE BUGANDO, CHAR LENTO! LOUCURA
AR
[Resolvido] BIKE BUGANDO, CHAR LENTO! LOUCURA
By arkanctrus, 02 de dez. de 2015 in Resolvidos
bike system
5
1.4k
info
Group: Infante
Joined: 28/01/12
Posts: 1.6k
Reputation: +262
Gender: Masculino

03 de dezembro de 2015 às 13:05
info
Group: Campones
Joined: 19/11/15
Posts: 8
Reputation: 0

03 de dezembro de 2015 às 15:07
Best answer
Desculpe, desisti do servidor poketibia. Mas obrigado (não sei onde fechar o topico)
2 weeks later...
info
Group: Marquês
Joined: 18/05/11
Posts: 1.1k
Reputation: +333
Gender: Masculino
Tibia Character: Kyuzen

11 de dezembro de 2015 às 12:43
Tópico Movido
Este tópico foi movido de "OTServ → Suporte OTServ → Suporte Derivados"
para "OTServ → Suporte OTServ → Suporte Derivados → Pedidos e dúvidas resolvidos - Servidores derivados".
1 year later...
info
Group: Administrador
Joined: 26/02/07
Posts: 254
Reputation: +205
Gender: Masculino
Tibia Character: Frenvius

29 de novembro de 2017 às 14:20
A questão neste tópico de suporte foi respondida e/ou o autor do tópico resolveu o problema. Este tópico está fechado e foi movido para Suporte - Resolvidos. Se você tiver outras dúvidas, crie um novo tópico.




info
Group: Campones
Joined: 19/11/15
Posts: 8
Reputation: 0
Olá, Quero que o Player NAO use a Bike com o POKE ATIVO. Quando o poke usa seus moves, a bike buga e o char trava ou fica muito lento, então sou obrigado a relogar toda vez...
MEUS SCRIPT:
function onUse(cid, item, frompos, itemEx, topos)
local bike = {lookType = 1394} --- LookType do player em cima da bike. homem
local bike1 = {lookType = 1393} --- LookType do player em cima da bike. mulher
local speed = 999 --- Velocidade que a bike terá.
if getPlayerStorageValue(cid, 32001) == 1 then
doRemoveCondition(cid, CONDITION_OUTFIT)
doChangeSpeed(cid, -speed)
doSendAnimatedText(getCreaturePosition(cid), 'Bike OFF!', 35)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'Você desmontou da bike.')
setPlayerStorageValue(cid, 32001, 0)
if getPlayerStorageValue(cid, 32001) >= 1 or getPlayerStorageValue(cid, 18000) >= 1 or getPlayerStorageValue(cid, 19000) >= 1 then
return doPlayerSendCancel(cid, "You can't ride a bike using habilities!") end
else
if getPlayerSex(cid) == 1 then -- homem
doChangeSpeed(cid, speed)
doSetCreatureOutfit(cid, bike, -1)
doSendAnimatedText(getCreaturePosition(cid), 'Bike ON!', 32)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Você montou na bike.')
setPlayerStorageValue(cid, 32001, 1)
if getPlayerStorageValue(cid, 32001) >= 1 or getPlayerStorageValue(cid, 18000) >= 1 or getPlayerStorageValue(cid, 19000) >= 1 then
return doPlayerSendCancel(cid, "You can't ride a bike using habilities!") end
elseif getPlayerSex(cid) == 0 then -- homem
doChangeSpeed(cid, speed)
doSetCreatureOutfit(cid, bike1, -1)
doSendAnimatedText(getCreaturePosition(cid), 'Bike ON!', 32)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Você montou na bike.')
setPlayerStorageValue(cid, 32001, 1)
if getPlayerStorageValue(cid, 32001) >= 1 or getPlayerStorageValue(cid, 18000) >= 1 or getPlayerStorageValue(cid, 19000) >= 1 then
return doPlayerSendCancel(cid, "You can't ride a bike using habilities!") end
end
end
return true
end