What's new

B?ad Questy! HELP!

Status
Not open for further replies.

TapeMapper

Advanced User
Joined
Jul 22, 2009
Messages
416
Reaction score
22
Age
30
Witam
Mam taki problem!
Poniewaz dodaje wszystko gites
Do Chest (Questa)
I Gdy go otwieram NIC NIE MA!!!!!!!!!!!!!!!!!!!
Id itemki wpisuje w Uniqude ID
I nie dziala!
Wiecie oco w tym chodzi?
Mam silnik TFS 034 B

Za pomoc Reput+

Pozdrawiam:(
 

DreamerDream

Advanced User
Joined
Aug 28, 2008
Messages
280
Reaction score
20
Odp: B?ad Questy! HELP!

Zobacz, czy na mapie niema juz istniej?cego questa z tym itemem.
Mo?e by? tak, ?e ju? masz taki item na mapie, a niemozna mie? dwie skrzynki z tymi samymi itemami.
 
Last edited:

Cezaryk

Active User
Joined
Jul 6, 2008
Messages
133
Reaction score
13
Odp: B?ad Questy! HELP!

Robisz w actions/scripts/quest.lua

Wklejasz

Code:
function onUse(cid, item, frompos, item2, topos)

	if item.uid == 10500 then
 queststatus = getPlayerStorageValue(cid,10500)
 if queststatus == -1 then
 	doPlayerSendTextMessage(cid,22,"You have found a Robe of Underwolrd.")
 	doPlayerAddItem(cid,8890,7)
 	setPlayerStorageValue(cid,10500,1)
 else
tam gdzie

10500

To action id mozesz se zmienaic :)
gdzie 8890

Id itemka

Tam gdzie you have found... napis jaki jak nacisnie na skrzynke

Teraz data/actions/actions.xml

Dodajesz linijke

Code:
<action itemid="10050" script="quest.lua"/

I teraz w map edicie na skrzynke wlasciwosci i w action id 10050

I juz gotowe :)
 

GM II

User
Joined
May 20, 2008
Messages
44
Reaction score
3
Odp: B?ad Questy! HELP!

W?a?nie tego szuka?em + dla ciebie :D
 
Status
Not open for further replies.
Top