Posts: 163
Threads: 12
Joined: Apr 2010
Reputation:
0
Something like : ?
Welcome to [ Server Name ] Choose the languge you want:
DIALOG:
|English| - |Italian| - |Chinese|
if yes, you can do it as just a dialog ( do nothing ) or if you have 3 languges or something then we its something else
Posts: 162
Threads: 47
Joined: Aug 2008
Reputation:
0
I want with 2 languages like:
When player connects everything is in English then when he spawn the dialog pops up and there is:
English
Polish
If player choose English language stay same if player choose Polish language changes and when he type
/language the dialog pop up and can change again
Posts: 163
Threads: 12
Joined: Apr 2010
Reputation:
0
You need to translate everything -.- to have 2 languges isnt easy to do
Posts: 162
Threads: 47
Joined: Aug 2008
Reputation:
0
Dont worry i just need to have example..
Posts: 28
Threads: 6
Joined: Feb 2009
Reputation:
0
stock LanguageDialog(playerid, dialog, styldialog, dehlavicka[], enhlavicka[], deobsah[], enobsah[], detlacidlo[], entlacidlo[], detlacidlo2[],entlacidlo2[])
{
switch(Lang[playerid])
{
case 1: ShowPlayerDialog(playerid, dialog, styldialog, dehlavicka, deobsah, detlacidlo, detlacidlo2);
case 2: ShowPlayerDialog(playerid, dialog, styldialog, enhlavicka, enobsah, entlacidlo, entlacidlo2);
}
return 1;
}