aí fera.
-- [ Bike System - BY Nogard ] --
function onUse(cid, item, frompos, itemEx, topos)
local bike = {lookType = 85} --- LookType do player em cima da bike.
local speed = 474 --- 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)
else
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)
end
return true
end









info
Grupo: Campones
Registrado: 25/02/14
Posts: 5
Reputação: 0
Queria pedir uma nova script de bike para server PDA.
Se alguem tiver por favor mande
Obrigado.