Banca
Buna ziua! Am si eu o problema, cand un player are prea multi bani ii da un mesaj si in 60 sec ia kick daca nu ii pune in banca, ideea este ca serverul este pvp si vreau sa stiu cum sa rezolv aceasta problema ori sa nu aive mai mult de 2kkk in inventar, or sa aiva infinit? Ori sa fac o banca....
Adauga urmatorul quest in server :
Cod: Selectaţi tot
say_title ( "Metin2Onix:" )
say ( "Salut,aici poti depune sau scoate yang." ) ;
say ( " " ) ;
local item =select ("Scoate Yang","Depune Yang","Informatii","Inchide")
if item == 1 then
say_title ( "Metin2Onix:" )
say ( "Salut, aici iti poti scoate yangul!" ) ;
say ( "Poti scoate ce suma de yang doresti!" ) ;
say ( "Sper ca asta sa te ajute cu ceva" )
say ( "Mult noroc!" )
say ( "Vrei sa scoti ceva yang?" )
local confirm =select ( "Da" , "Nu" )
if confirm == 1 then
say_reward ( "Alege cantitatea dorita:" )
local ritiro = select ("1.500.000.000 Yang","1.000.000.000 Yang","500.000.000 Yang","Inchide")
if ritiro == 1 then
if pc . count_item ( 80007 ) >= 1 then
pc . remove_item ( 80007 , 1 )
say ( "Transferul cu Yang a avut loc cu succes!" ) ;
pc . changegold ( 1500000000 )
else
say ( "Nu ai depus aceasta suma." ) ;
say ( "O zi placuta." )
return
end
elseif ritiro == 2 then
if pc . count_item ( 80006 ) >= 1 then
pc . remove_item ( 80006 , 1 )
say ( "Transferul cu Yang a avut loc cu succes!" ) ;
pc . changegold ( 1000000000 )
else
say ( "Nu ai depus aceasta suma." ) ;
say ( "O zi placuta." )
return
end
elseif ritiro == 3 then
if pc . count_item ( 80005 ) >= 1 then
pc . remove_item ( 80005 , 1 )
say ( "Transferul cu Yang a avut loc cu succes!" ) ;
pc . changegold ( 500000000 )
else
say ( "Nu ai depus aceasta suma." ) ;
say ( "O zi placuta." )
return
end
elseif ritiro == 4 then
end
elseif confirm == 2 then
end
elseif item == 2 then
say_title ( "Metin2Onix:" )
say ( "Salut, aici iti poti depozita yangul!" ) ;
say ( "Poti depune ce suma de yang doresti!" ) ;
say ( "Sper ca asta sa te ajute cu ceva" )
say ( "Mult noroc!" )
say ( "Vrei sa depui ceva yang?" )
local confirm =select ( "Da" , "Nu" )
if confirm == 1 then
say_reward ( "Alege cantitatea dorita:" )
local deposito = select ("1.500.000.000 Yang","1.000.000.000 Yang","500.000.000 Yang","Inchide")
if deposito == 1 then
if pc . gold >= 1500000000 then
pc . changegold ( - 1500000000 )
pc . give_item2 ( "80007" , 1 )
say ( "Ai depus cu succes!" ) ;
say ( "Ii poti scoate cand doresti." )
else
say ( "Nu ai suficient yang." ) ;
say ( "O zi placuta." )
return
end
elseif deposito == 2 then
if pc . gold >= 1000000000 then
pc . changegold ( - 1000000000 )
pc . give_item2 ( "80006" , 1 )
say ( "Ai depus cu succes!" ) ;
say ( "Ii poti scoate cand doresti." )
else
say ( "Nu ai suficient yang." ) ;
say ( "O zi placuta." )
return
end
elseif deposito == 3 then
if pc . gold >= 500000000 then
pc . changegold ( - 500000000 )
pc . give_item2 ( "80005" , 1 )
say ( "Ai depus cu succes!" ) ;
say ( "Ii poti scoate cand doresti." )
else
say ( "Nu ai suficient yang." ) ;
say ( "O zi placuta." )
return
end
elseif deposito == 4 then
return
end
elseif confirm == 2 then
end
elseif item == 3 then
say_title ( "Metin2Onix:" )
if pc . gold >= 1 then
pc . changegold ( - 1 )
say ( "Salut, eu sunt depozitul de yang al orasului.." ) ;
say ( "la mine poti depune o suma mai mare." ) ;
say ( "" )
say ( "Poti depune sau scoate" ) ;
say ( "yang de cate ori doresti." )
say ( "Nu are o limita." ) ;
say ( "Nu iti opresc nici o taxa deoarece" )
say ( "este platita de regat." ) ;
say ( "" ) ;
else
say ( "Mult noroc!" ) ;
say ( "" )
return
end
elseif item == 4 then
return
end
say_title ( "Metin2Onix:" )
say ( "Salut,aici poti depune sau scoate yang." ) ;
say ( " " ) ;
local item =select ("Scoate Yang","Depune Yang","Informatii","Inchide")
if item == 1 then
say_title ( "Metin2Onix:" )
say ( "Salut, aici iti poti scoate yangul!" ) ;
say ( "Poti scoate ce suma de yang doresti!" ) ;
say ( "Sper ca asta sa te ajute cu ceva" )
say ( "Mult noroc!" )
say ( "Vrei sa scoti ceva yang?" )
local confirm =select ( "Da" , "Nu" )
if confirm == 1 then
say_reward ( "Alege cantitatea dorita:" )
local ritiro = select ("1.500.000.000 Yang","1.000.000.000 Yang","500.000.000 Yang","Inchide")
if ritiro == 1 then
if pc . count_item ( 80007 ) >= 1 then
pc . remove_item ( 80007 , 1 )
say ( "Transferul cu Yang a avut loc cu succes!" ) ;
pc . changegold ( 1500000000 )
else
say ( "Nu ai depus aceasta suma." ) ;
say ( "O zi placuta." )
return
end
elseif ritiro == 2 then
if pc . count_item ( 80006 ) >= 1 then
pc . remove_item ( 80006 , 1 )
say ( "Transferul cu Yang a avut loc cu succes!" ) ;
pc . changegold ( 1000000000 )
else
say ( "Nu ai depus aceasta suma." ) ;
say ( "O zi placuta." )
return
end
elseif ritiro == 3 then
if pc . count_item ( 80005 ) >= 1 then
pc . remove_item ( 80005 , 1 )
say ( "Transferul cu Yang a avut loc cu succes!" ) ;
pc . changegold ( 500000000 )
else
say ( "Nu ai depus aceasta suma." ) ;
say ( "O zi placuta." )
return
end
elseif ritiro == 4 then
end
elseif confirm == 2 then
end
elseif item == 2 then
say_title ( "Metin2Onix:" )
say ( "Salut, aici iti poti depozita yangul!" ) ;
say ( "Poti depune ce suma de yang doresti!" ) ;
say ( "Sper ca asta sa te ajute cu ceva" )
say ( "Mult noroc!" )
say ( "Vrei sa depui ceva yang?" )
local confirm =select ( "Da" , "Nu" )
if confirm == 1 then
say_reward ( "Alege cantitatea dorita:" )
local deposito = select ("1.500.000.000 Yang","1.000.000.000 Yang","500.000.000 Yang","Inchide")
if deposito == 1 then
if pc . gold >= 1500000000 then
pc . changegold ( - 1500000000 )
pc . give_item2 ( "80007" , 1 )
say ( "Ai depus cu succes!" ) ;
say ( "Ii poti scoate cand doresti." )
else
say ( "Nu ai suficient yang." ) ;
say ( "O zi placuta." )
return
end
elseif deposito == 2 then
if pc . gold >= 1000000000 then
pc . changegold ( - 1000000000 )
pc . give_item2 ( "80006" , 1 )
say ( "Ai depus cu succes!" ) ;
say ( "Ii poti scoate cand doresti." )
else
say ( "Nu ai suficient yang." ) ;
say ( "O zi placuta." )
return
end
elseif deposito == 3 then
if pc . gold >= 500000000 then
pc . changegold ( - 500000000 )
pc . give_item2 ( "80005" , 1 )
say ( "Ai depus cu succes!" ) ;
say ( "Ii poti scoate cand doresti." )
else
say ( "Nu ai suficient yang." ) ;
say ( "O zi placuta." )
return
end
elseif deposito == 4 then
return
end
elseif confirm == 2 then
end
elseif item == 3 then
say_title ( "Metin2Onix:" )
if pc . gold >= 1 then
pc . changegold ( - 1 )
say ( "Salut, eu sunt depozitul de yang al orasului.." ) ;
say ( "Spre deosebire de Administratorul Depozitului" )
say ( "la mine poti depune o suma mai mare." ) ;
say ( "" )
say ( "Poti depune sau scoate" ) ;
say ( "yang de cate ori doresti." )
say ( "Nu are o limita." ) ;
say ( "Nu iti opresc nici o taxa deoarece" )
say ( "este platita de regat." ) ;
say ( "" ) ;
else
say ( "Mult noroc!" ) ;
say ( "" )
return
end
elseif item == 4 then
return
end
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 168 vizitatori



daca te-am ajutat