- 0
suporte scripts Systema de megulhador automatico igaul pxg
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
-
Conteúdo Similar
-
- 0 respostas
- 944 visualizações
-
- 4 respostas
- 1496 visualizações
-
- 3 respostas
- 1333 visualizações
-
- 0 respostas
- 1183 visualizações
-
- 3 respostas
- 1289 visualizações
-
Pergunta
raulcdj 3
pessoal esta dando esse erro no meu servidor queria ajuda para adicionar..Nao estou conseguindo resolver.
Error - LuaScriptInterface::loadFile] data/movements/scripts/arquivo.lua:2: '=' expected near 'ï'
[14/02/2019 07:40:47] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/arquivo.lua)
[14/02/2019 07:40:47] data/movements/scripts/arquivo.lua:2: '=' expected near 'ï'
[14/02/2019 07:40:47] [Error - LuaScriptInterface::loadFile] data/movements/scripts/arquivo.lua:2: '=' expected near 'ï'
[14/02/2019 07:40:47] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/arquivo.lua)
[14/02/2019 07:40:47] data/movements/scripts/arquivo.lua:2: '=' expected near 'ï'
local configuration = {storage = 41651651},
look type (male)id_outfit_female = 511
look type (female)id_mergulhador_male = 1034,
look type (male)id_mergulhadora_female = 1035,
look type (female)more_player_speed = 300,
local random = math.random(1, 150)
function onStepIn(cid)
if isRiderOrFlyOrSurf(cid) then
doChangeSpeed(cid,(getCreatureSpeed(cid)-configuration.less_speed))
end
if(isPlayer(cid)) then
if getPlayerSex(cid) == 1
and
isPlayer(cid) then
doSetCreatureOutfit(cid, {lookType = configuration.id_mergulhador_male, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1)
else
if getPlayerSex(cid) == 0 and isPlayer(cid) then
doSetCreatureOutfit(cid,{lookType = configuration.id_mergulhadora_female, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1)
return true
end
if getCreatureOutfit(cid).lookType == configuration.id_mergulhador_male or getCreatureOutfit(cid).lookType == configuration.id_mergulhadora_female then
doChangeSpeed(cid, getCreatureSpeed(cid)+configuration.more_player_speed)
else
doChangeSpeed(cid,(getCreatureSpeed(cid))-configuration.less_speed)
end
end
if isWild(cid)or isSummon(cid) thenpoketype1 = pokes[getCreatureName(cid)].type poke type 2 = pokes[getCreatureName(cid)].type 2
if poke type 1 == "water" or poke type 2 == "water" or poke type 1 == "ice" or poke type 2 == "ice"
then
-- coloque aqui os tipos de pokémon que ganham velocidade na agua
doChangeSpeed(cid, -getCreatureSpeed(cid)+configuration.more_pokemon_speed)
else
doChangeSpeed(cid, -getCreatureSpeed(cid)+configuration.less_speed)
end
end
return true
end
function onStepOut(cid)if(isPlayer(cid)) thenif getPlayerSex(cid) == 1
and
isPlayer(cid) then
doSetCreatureOutfit(cid, {lookType = configuration.id_outfit_male, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1)doChangeSpeed(cid,(-getCreatureSpeed(cid))+configuration.speed_normal)
else
if getPlayerSex(cid) == 0
and
isPlayer(cid) then
doSetCreatureOutfit(cid, {lookType = configuration.id_outfit_female, lookHead = random, lookBody = random, lookLegs = random, lookFeet = random}, -1)doChangeSpeed(cid,(-getCreatureSpeed(cid))+configuration.speed_normal)
return true
end
end
if isWild(cid)or isSummon(cid) thenpoketype1 = pokes[getCreatureName(cid)].type poketype2 = pokes[getCreatureName(cid)].type 2 velocidade = pokes[getCreatureName(cid)].agilityif poketype1 == "water" or poke type 2 == "water" or poke type 1 == "ice" or poke type 2 == "ice" then -- coloque aqui os tipos de pokémon que ganham velocidade na aguado
ChangeSpeed(cid, velocidade-configuration.more_pokemon_speed)
else
doChangeSpeed(cid, velocidade-configuration.less_speed)
end
end
return true
end
Link para o comentário
Compartilhar em outros sites
8 respostass a esta questão
Posts Recomendados