SA-MP Forums Archive
multilanguage server - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: multilanguage server (/showthread.php?tid=663629)



multilanguage server - Jaua10 - 07.02.2019

Hello guys i am trying to make a server with 2 languages but i dont know what method or way i should use, can you give me a advice with examples please, thanks in advance


Re: multilanguage server - Florin48 - 07.02.2019

Quote:

SendLanguageMessage(playerid, color, lang1[], lang2[])
{
if(PlayerLanguage[playerid] == 1) SendClientMessage(playerid, color, lang1);
else SendClientMessage(playerid, color, lang2);
return 1;
}

a simple method would be this, or something in this style