What's new

D?wignia ?

Status
Not open for further replies.

Skrypter

Advanced User
Joined
May 17, 2008
Messages
243
Reaction score
23
Cze?? !
Mam taki problem :
Robi? quest ,skopiowa?em z actions dhq,w actions/script nazwa?em go soft.lua i go przerobi?em na potrzeby questu :
function onUse(cid, item, frompos, item2, topos)
gatepos = {x=1400, y=1071, z=7, stackpos=1}
getgate = getThingfromPos(gatepos)
if item.uid == 3025 and item.itemid == 1945 and getgate.itemid == 1354 then
doRemoveItem(getgate.uid,1)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 3025 and item.itemid == 1946
and getgate.itemid == 0 then
doCreateItem(1354,1,gatepos)
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Chcesz kolege zabic :eek: ?")
end
return 1
end
Oraz :
<action actionid="3025" event="script" value="quests/soft.lua"/>
W grze jak naciskam na d?wignie kamie? dalej stoi i nie da si? przej?? :curse:

ID Kamienia kt?ry ma znika? : 1354
ID kt?ry wpisa?em do d?wigni w map editor : 3025 Oraz ID samej d?wigni kt?r? postawi?em w Map Editor (RME)1945
Pozycja Kamienia : 1400/1071/7

Gdzie robi? b??d ?!
Pozdro, Skrypter



Sorry, wpisa?em z actionid na <action uniqueid
i dzia?a ! Sorka
 
Status
Not open for further replies.
Top