blast1he Posted April 4, 2014 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 20 Reputation: 1 Joined: 11/20/13 Last Seen: June 30, 2024 Share Posted April 4, 2014 (edited) Hello I was wondering if someone could make a system that has 2 npc folders one for english and the other for german, and the players can choose the language from an npc like when player choose english, the server read's english folder and the same with german Edited April 4, 2014 by blast1he Quote Link to comment Share on other sites More sharing options...
Cydh Posted April 5, 2014 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share Posted April 5, 2014 actually there was staff discussion about multi-language support for scripting stuff, that it seems just marked as "started" with goes nowhere. xD Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted April 5, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted April 5, 2014 new_zone02,98,30,1 script Language Changer 412,{ mes "[Translator]"; mes " * Please choose a language"; mes " * Bitte wähle eine Sprache"; next; menu "English",-,"German",L_Ger; set #language,0; next; mes "[Translator]"; mes "Thank you."; mes "Have fun on ??? Ro."; close; L_Ger: set #language,1; next; mes "[Translator]"; mes "Danke."; mes "Viel Spaß auf ??? Ro."; close; } and use in the npc Script if (#language == 1) { Germany Text } else { Englisch Text } z.b Map_Name,137,174,6 script PvP Warper 447,{ //PvP Warper if (#language == 1) { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "Möchtest du die PvP Arena betreten ?"; } else { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "Do you want to enter the PvP Arena ?"; } next; switch(select("Normal PvP [^000088"+getmapusers("n_pvp")+"^000000]","Hardcore PvP [^000088"+getmapusers("artz_pvp")+"^000000]","Test PvP [^000088"+getmapusers("norm_pvp")+"^000000]","^ff0000Close^000000")) { case 1: if (countitem(22011)<1) goto NOPASS; if (#language == 1) { announce ""+strcharinfo(0)+" ist in die PvP Arena eingetreten !", bc_map; } else { announce ""+strcharinfo(0)+" has occurred in the PvP Arena !", bc_map; } warp "n_pvp",0,0; close; case 2: if (#language == 1) { announce ""+strcharinfo(0)+" ist in die Hardcore PvP Arena eingetreten!", bc_map; } else { announce ""+strcharinfo(0)+" has occurred in the Hardcore PvP Aren !", bc_map; } warp "artz_pvp",0,0; close; case 3: if (countitem(22011)<1) goto NOPASS; warp "norm_pvp",0,0; close; case 4: if (#language == 1) { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "Dann eben nicht."; } else { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "Then just not."; } close; } NOPASS: if (#language == 1) { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "Du benötigst einen PvP Pass um in die PvP Arena zu gelangen."; } else { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "You need a PvP pass to enter the PvP Arena."; } next; if (#language == 1) { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "Sprich mit dem PvP Pass Master."; } else { mes "[ ^000088PvP Arena Warper^000000 ]"; mes "Talk to the PvP Pass Master."; } close; OnInit: waitingroom "PvP Arena",0; end; } Quote Link to comment Share on other sites More sharing options...
Question
blast1he
Hello
I was wondering if someone could make a system that has 2 npc folders
one for english and the other for german, and the players can choose the language from an npc
like when player choose english, the server read's english folder and the same with german
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.