Intrebare Quest

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
[Zorek]
Nivel 3

Nivel 3
Mesaje: 473
Membru din: 19 Oct 2018, 18:23
Regat: Chunjo
Aprecieri: 519  
Mulţumiri: 399  
  Rezolvări prob.: 1
Medalii

Salut , oare cum pot sa pun itemul [icon ul respectiv] sa fie pe mijloc ?
Multumesc frumoss :D :D :D
quest tombola begin
state start begin
function tablica(vnum, pozitie, pozitie2)
local itemy = {
{

{90015, 1},
{90016, 1},
{90017, 1},
{90018, 1},
{90019, 1},
{90019, 1},
{27987, 30},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 3},
{90019, 1},
{90019, 1},
{90019, 1},
},
{
{90015, 1},
{90016, 1},
{90017, 1},
{90018, 1},
{90019, 1},
{90019, 1},
{90019, 30},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 1},
{90019, 3},
{90019, 1},
{90019, 1},
{90019, 1},

},
}
return itemy[vnum][pozitie][pozitie2]
end



when login begin
cmdchat("tombola "..q.getcurrentquestindex())
end

when 33008.chat."Tombola" begin
say_title("[Antharos-World2]: Tombola Orasului fiecare invartire este castigatoare.")
say("")
say("Salut! Pentru a putea juca la tombola orasului")
say("ai nevoie de zece bilete!")
say_item("Bilet pentru Tombola", 31012, "")
wait()
local vegas = number(1,2)
local str = " "
for i = 1,16 do
if i == 16 then
str = str..tombola.tablica(vegas, i, 1).."|"..tombola.tablica(vegas, i, 2)
else
str = str..tombola.tablica(vegas, i, 1).."|"..tombola.tablica(vegas, i, 2).."|"
end
end
cmdchat("OnPrepare"..str)
cmdchat("openTombola")
setskin(NOWINDOW)
end

when info or button begin
local vegas = number(1,2)
local str = " "
for i = 1,16 do
if i == 16 then
str = str..tombola.tablica(vegas, i, 1).."|"..tombola.tablica(vegas, i, 2)
else
str = str..tombola.tablica(vegas, i, 1).."|"..tombola.tablica(vegas, i, 2).."|"
end
end
cmdchat("OnPrepare"..str)
if pc.count_item(31012) < 10 then
syschat("[Antharos-World2]: Nu aveti ce va trebuie pentru a putea juca!")
return
end

cmdchat("get_input_start")
local intrare = input(cmdchat("get_input_value"))
cmdchat("get_input_end")
if intrare == "tombola|begin" then
pc.setqf("slot", number(1, 16))
cmdchat("OnRun "..number(2,3)*16+pc.getqf("slot").."|5")
elseif intrare == "tombola|end" then
cmdchat("buff_vegas") ---
syschat("[Antharos-World2]: Felicitari! Ai primit "..tombola.tablica(vegas, pc.getqf("slot")+1, 2).."x "..item_name(tombola.tablica(vegas, pc.getqf("slot")+1, 1)).."")
pc.give_item2(tombola.tablica(vegas, pc.getqf("slot")+1, 1), tombola.tablica(vegas, pc.getqf("slot")+1, 2))
pc.remove_item(31012, 10)
end
end
end
end
Avatar utilizator
[Zorek]
Nivel 3

Nivel 3
Mesaje: 473
Membru din: 19 Oct 2018, 18:23
Regat: Chunjo
Aprecieri: 519  
Mulţumiri: 399  
  Rezolvări prob.: 1
Medalii

up
Avatar utilizator
[Zorek]
Nivel 3

Nivel 3
Mesaje: 473
Membru din: 19 Oct 2018, 18:23
Regat: Chunjo
Aprecieri: 519  
Mulţumiri: 399  
  Rezolvări prob.: 1
Medalii

Up

[ Postat de pe Android ] Imagine
Avatar utilizator
[Zorek]
Nivel 3

Nivel 3
Mesaje: 473
Membru din: 19 Oct 2018, 18:23
Regat: Chunjo
Aprecieri: 519  
Mulţumiri: 399  
  Rezolvări prob.: 1
Medalii

up
Avatar utilizator
[Zorek]
Nivel 3

Nivel 3
Mesaje: 473
Membru din: 19 Oct 2018, 18:23
Regat: Chunjo
Aprecieri: 519  
Mulţumiri: 399  
  Rezolvări prob.: 1
Medalii

Up

[ Postat de pe Android ] Imagine
Avatar utilizator
Ionuţ M.
Metin Master

Metin Master
Mesaje: 2680
Membru din: 28 Noi 2015, 22:02
Aprecieri: 170  
Mulţumiri: 12723  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Respecta modelul sau ajunge in arhiva,ai 12h la dispozitie.
Imagine
Afișează semnătura
Avatar utilizator
[Zorek]
Nivel 3

Nivel 3
Mesaje: 473
Membru din: 19 Oct 2018, 18:23
Regat: Chunjo
Aprecieri: 519  
Mulţumiri: 399  
  Rezolvări prob.: 1
Medalii

Închide dacă vr îs prea multe comentarii

[ Postat de pe Android ] Imagine
Avatar utilizator
Ley
Nivel 9

Nivel 9
Mesaje: 1934
Membru din: 09 Feb 2017, 22:30
Server: Colossus2
Regat: Jinno
Aprecieri: 221  
Mulţumiri: 1338  
Medalii

Arhivat.
Imagine
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
245
Răspunsuri
4
Vizualizări
526
Răspunsuri
7
Vizualizări
912
Răspunsuri
8
Vizualizări
720

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 65 vizitatori