|
Staff_Horses.scp,32)Undefined keyword 'mount' bu mount ne demek ve bunu nasıl cöze bilirim
serkanacar :Bir tane newnpc oluşturmuşsun burada kardeşim sonra oluşturduğun npcyi kontrol etmek için tüm komutların başına new koymuşsun buraya kadar herşey normal ama en son o bineğe binmek istiyorsan new.mount kullanırsan binek kendine binmeye çalışır eğer bineğe kendin binmek istiyorsan Src.mount <new> kullanmalısın
src.new.mount 32 satırında Mount varsrc.events +binekkontrol
src.newnpc c_staff
src.new.p <src.p>
src.new.color <color>
src.new.hits 100
src.new.mount
remove
return 1
endif
Serv.Newnpc c_staff
New.P <Src.P>
New.Color <color>
New.Hits 100
Src.Mount <New>
//remove // burada neyi siliyorsun çok anlamadım ama gereksiz bir satır gibime geldi
Return 1
//endif // burada da sorgu yok endif var muhtemelen scriptinin devamı var diye tahmin ediyorum
src.events +binekkontrol
src.newnpc c_staff
src.new.p <src.p>
src.new.color <color>
src.new.hits 100
src.mount <New>
//remove
return 1
endif
[Function asede]
Serv.Newnpc c_ostard_Desert
New.P <Src.P>
New.Color <color>
New.Hits 100
Src.New.Mount
[itemdef i_staff_Horse]
id i_deed
type t_script
on=@click
message @58,,1 [Staff Horse]
message @07a1,,1 Horse
return 1
on=@create
color 1152
on=@dclick
if (<src.account.plevel> < 2)
src.sysmessage @38,,1 HATA: Sadece yetkililer staff horse kullanabilir.
remove
return 1
endif
if (<topobj.uid> != <src.uid>)
src.sysmessage @38,,1 HATA: Staff horseye sadece çantanızdayken binebilirsiniz.
return 1
endif
if (<src.findlayer.25.uid>)
src.sysmessage @38,,1 HATA: Altınızda binek varken staff horse'ye binemezsiniz.
return 1
else
src.events +binekkontrol
src.newnpc c_staff
src.new.p <src.p>
src.new.color <color>
src.new.hits 100
src.mount <New>
remove
return 1
endif
[chardef c_staff]
id=c_horse_brown_lt
on=@click
remove
return 1
[events binekkontrol]
on=@dismount
if (<argo.id> == c_staff)
src.newitem i_staff_horse
src.new.color <argo.color>
argo.remove
src.new.bounce
src.events -binekkontrol
return 1
endif
[eof]
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Mount binek
Son cevap: 01-03 16:49 · Son yazan: manyaqq · Mesaj: 3 · Görüntü: 2030
|
NPC Script Yardımı | 01-03 16:49 | 3 | 2030 | |
|
|
Mount ve DisMount sorunu
Son cevap: 28-02 10:55 · Son yazan: manyaqq · Mesaj: 7 · Görüntü: 2738
|
NPC Script Yardımı | 28-02 10:55 | 7 | 2738 | |
|
|
Kodlama mantığı nedir
Son cevap: 24-02 00:22 · Son yazan: MirroR · Mesaj: 12 · Görüntü: 4962
|
Script Yardımı | 24-02 00:22 | 12 | 4962 | |
|
|
Src,Act,Targ,Cont Nedir ?
Son cevap: 07-02 10:37 · Son yazan: Nioble · Mesaj: 5 · Görüntü: 3650
|
Script Yardımı | 07-02 10:37 | 5 | 3650 | |
|
|
Fındlayer.X nedir
Son cevap: 03-02 01:10 · Son yazan: 4s3d3 · Mesaj: 8 · Görüntü: 4009
|
Script Yardımı | 03-02 01:10 | 8 | 4009 |