What's new

Searing Fire pomoc

Status
Not open for further replies.

Kuszczyk

Advanced User
Joined
Apr 14, 2010
Messages
155
Reaction score
7
Cze?? mam fioletowy taki ogie? (wiecie na 100% jaki zabiera on chyba 300 czy tam 600hp) wi?c jest taka sprawa bo on u mnie w og?le nie dzia?a!!! Wchodz? na niego i nic:p Czy mo?e kto? mi pom?c jak to zrobi? by zabiera? te hp??
 

Xavizou

Advanced User
Joined
Dec 26, 2009
Messages
176
Reaction score
20
Odp: Searing Fire pomoc

movements.xml

PHP:
    <movevent type="StepIn" itemid="1506" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1506" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="1507" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="1507" event="function" value="onAddField"/>
    <movevent type="StepIn" itemid="7359" event="function" value="onStepInField"/>
    <movevent type="AddItem" itemid="7360" event="function" value="onAddField"/>

Nie jestem pewien czy to wszystko. Mam nadzieje, ?e to zadzia?a.
 

Yoxino

Advanced User
Joined
Aug 12, 2009
Messages
478
Reaction score
51
Odp: Searing Fire pomoc

.../data/movements/scripts/fire_filed.lua
PHP:
function onStepIn(cid, item, position, fromPosition)|
local player = getThingfromPos(position.uid) 
if isPlayer(player) == true then
doPlayerAddHealth(cid, -300)
end
return true
end

.../data/movements/movements.xml
Code:
<movevent type="StepIn" itemid="[COLOR="Red"]IDfielda[/COLOR]" event="script" value="fire_field.lua"/>
IDfielda - id fielda

Nie testowany, mam nadzieje ?e dzia?a.

Pozdrawiam!
Yoxino
 
Last edited:

Kuszczyk

Advanced User
Joined
Apr 14, 2010
Messages
155
Reaction score
7
Odp: Searing Fire pomoc

Nie dzia?a:p REFESH@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 

Kones

User
Joined
Jan 27, 2010
Messages
39
Reaction score
3
Odp: Searing Fire pomoc

Po pierwsze wchodzisz normalnym charem czy godem?... Godowi ze tak powiem nic hp nie zabierze.
 

Kuszczyk

Advanced User
Joined
Apr 14, 2010
Messages
155
Reaction score
7
Odp: Searing Fire pomoc

wchodz? normalnym charem... nie jestem chyba noobem??
 

Xayan

Senior User
Joined
Jul 4, 2009
Messages
2,608
Reaction score
390
Age
28
Odp: Searing Fire pomoc

Code:
function onStepIn(cid, item, position, fromPosition)
if (isPlayer(cid) == true) then
doPlayerAddHealth(cid, -300)
end
return true
end
 
Status
Not open for further replies.
Top