-Skrypt Pod?oga trenuj?ca dany skill

Status
Zamknięty.

remus934

User
Zarejestrowany
Dołączył
Luty 9, 2014
Posty
13
Liczba reakcji
0
Witam!
Poszukuj? skryptu pod tibie 8.54 (movements)
Skrypt polega na tym ,?e gdy chodzimy po danej pod?odze (bie?nia) dodaje nam skill Speed (fist fighting)


Z g?ry dzi?kuj? za pomoc :)
 
Odp: Pod?oga trenuj?ca dany skill

movements.xml
Kod:
<movevent event="StepIn" itemid="448" script="exp.lua" />
exp.lua
Kod:
function onStepIn(cid, item, pos)

if isPlayer(cid) == 1 then
doPlayerAddSkillTry(cid,0,10)
 end
    return 1
    end

Kod:
doPlayerAddSkillTry(cid,0,10)
0 fist
1 club
2 sword
3 axe
4 shield
5 fish
 
Odp: Pod?oga trenuj?ca dany skill

Dzi?ki :)
u siebie mia?em b??d:
function onStepIn(cid, item, pos)

doPlayerAddSkillTry(cid,0,10)
end
end
brakowa?o mi "if isPlayer(cid) == 1 then" i "return 1" :)
 
Status
Zamknięty.
Back
Do góry