Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Poprawa] Itemy na start


Rekomendowane odpowiedzi

Opublikowano

Siema, jest to moj 1 quest i nie wiem dlaczego ale po komendzie mt2 qc jest takie cos i musze rebootowac serwer bo nic nie dziala

1.jpg

 

quest

 

 

quest give_basic_weapon begin
state start begin
when login begin
if pc.getqf("basic_weapon") != 0 then
if pc . countitem ( 39006 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 27111, 200 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 27115, 200 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72702 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 80009 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 50053 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72723 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72727 ) == 0 and pc . weapon ~= item then
horse . set_level ( 21 )
pc . set_skill_level ( 131 , 10 )
if pc . job == 0 then
pc . give_item2 ( 19 )
pc . give_item2 ( 11209 )
pc . give_item2 ( 12209 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
if pc . job == 1 then
pc . give_item2 ( 11409 )
pc . give_item2 ( 1009 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
pc . give_item2 ( 12349 )
elseif pc . job == 2 then
pc . give_item2 ( 11409 )
pc . give_item2 ( 19 )
pc . give_item2 ( 11609 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
elseif pc . job == 3 then
pc . give_item2 ( 12629 )
pc . give_item2 ( 11809 )
pc . give_item2 ( 7009 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
return
end
pc.give_item2( )
set_state(__COMPLETE__)
end
end
state __COMPLETE__ begin
end
end

 

 

Czy wiesz że..


Zbieram Lajki?

Opublikowano

a może tak: ?

quest give_basic_weapon begin
state start begin
when login begin
if pc.getqf("basic_weapon") != 0 then
if pc . countitem ( 39006 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 27111, 200 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 27115, 200 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72702 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 80009 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 50053 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72723 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72727 ) == 0 and pc . weapon ~= item then
horse . set_level ( 21 )
pc . set_skill_level ( 131 , 10 )
if pc . job == 0 then
pc . give_item2 ( 19 )
pc . give_item2 ( 11209 )
pc . give_item2 ( 12209 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
else if pc . job == 1 then 
pc . give_item2 ( 11409 )
pc . give_item2 ( 1009 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
pc . give_item2 ( 12349 )
else if pc . job == 2 then
pc . give_item2 ( 11409 )
pc . give_item2 ( 19 )
pc . give_item2 ( 11609 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 ) 
else if pc . job == 3 then
pc . give_item2 ( 12629 )
pc . give_item2 ( 11809 )
pc . give_item2 ( 7009 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
return
end
pc.give_item2( )
set_state(__COMPLETE__)
end
end
state __COMPLETE__ begin
end
end
lub

quest give_basic_weapon begin
state start begin
when login begin
if pc.getqf("basic_weapon") != 0 then
if pc . countitem ( 39006 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 27111, 200 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 27115, 200 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72702 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 80009 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 50053 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72723 ) == 0 and pc . weapon ~= item then
if pc . countitem ( 72727 ) == 0 and pc . weapon ~= item then
horse . set_level ( 21 )
pc . set_skill_level ( 131 , 10 )
if pc . job == 0 then
pc . give_item2 ( 19 )
pc . give_item2 ( 11209 )
pc . give_item2 ( 12209 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
if pc . job == 1 then 
pc . give_item2 ( 11409 )
pc . give_item2 ( 1009 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
pc . give_item2 ( 12349 )
if pc . job == 2 then
pc . give_item2 ( 11409 )
pc . give_item2 ( 19 )
pc . give_item2 ( 11609 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 ) 
if pc . job == 3 then
pc . give_item2 ( 12629 )
pc . give_item2 ( 11809 )
pc . give_item2 ( 7009 )
pc . give_item2 ( 14009 )
pc . give_item2 ( 15009 )
pc . give_item2 ( 16009 )
pc . give_item2 ( 17009 )
pc . give_item2 ( 13009 )
return
end
pc.give_item2( )
set_state(__COMPLETE__)
end
end
state __COMPLETE__ begin
end
end

Nie wiem czy będzie dobrze, ucze sie :)

e3e0ug.png+ 4gb ram.


 

Opublikowano


Daj like nie bądź żyd


quest first_login begin

state start begin

when login begin

if pc.getqf("basic_weapon") != 0 then

 

 

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "di" , ilosc )

 

 

 

 

pc . set_skill_level ( ilosc3ilosc , ilosc0 )

horse.set_level ( 2ilosc )

horse.ride()

 

 

 

 

if pc.job==0 then

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

end

if pc.job==ilosc then

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

end

if pc.job==2 then

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

end

if pc.job==3 then

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( id" , ilosc )

pc . give_item2 ( "id" , ilosc )

pc . give_item2 ( "id" , ilosc )

end

clear_letter ( )

end

end

end

state __COMPLETE__ begin

end

end

Opublikowano

Juz mam dobrego, ale dzieki za starania (chociaz nie zauwazylem tam zmian jakich dokonales ;d )

 

up dam ci like bo i tak nie wykorzystam limitu ;d

 

BBBay dziala navi?

Czy wiesz że..


Zbieram Lajki?

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...