Metin2 Hungarian Forum

Metin2 => Segítség => Szerver készítés => Privát szerverek => Archívum => A témát indította: Adonisz Dátum 2013-07-19, 23:07:34

Cím: PvPEvent Hirdetés /n-be,NPC menüpont,és csak a GM Látja (K)
Írta: Adonisz Dátum 2013-07-19, 23:07:34
Sziasztok!

PvP Event Hírdetést akarok /n-be,úgyhogy NPC Menüpont-ba van és csak a GM láthatja azta menűpontot
Cím: Re:PvPEvent Hírdetés /n-be,NPC menüpont,és csak a GM Látja
Írta: Distraught Dátum 2013-07-21, 11:39:44
Ez nem egészen jó, mivel kell 2db zárójel a pc.is_gm után.
Amúgy tessék, írtam egyet:

quest xy begin
state start begin
when NPCID.chat."Hirdetés" with pc.is_gm() begin
s1 = input()
s2 = input()
s3 = input()
s4 = input()
if string.len(s1) > 0 then
notice_all(s1)
end
if string.len(s2) > 0 then
notice_all(s2)
end
if string.len(s3) > 0 then
notice_all(s3)
end
if string.len(s4) > 0 then
notice_all(s4)
end
end
end
end


4 soros lesz, amibe írhatsz bármit ingame. Csak annyi sornyit fog kiírni, amennyit kitöltessz, szóval ha csak 2 sornyit szeretnél irni, akkor a többit hagyd üresen.
Cím: Re:PvPEvent Hírdetés /n-be,NPC menüpont,és csak a GM Látja
Írta: Adonisz Dátum 2013-07-21, 13:15:32
Köszönöm Borden !

Témát zárom.
EhPortal 1.39 © 2025, WebDev