SA-MP Forums Archive
How about Multi Language - 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: How about Multi Language (/showthread.php?tid=563036)



How about Multi Language - hichay - 13.02.2015

I wonder to make an server with multi language and people can choose what language they want.
Main language is English and Vietnamese


AW: How about Multi Language - Nero_3D - 13.02.2015

Basically you check each time you send a messeage which text the script should show the player (depending which language the player has set)
pawn Код:
switch(Language[playerid])
{
    case ENGLISH: SendClientMessage(playerid, -1, "English");
    case VIETNAM: SendClientMessage(playerid, -1, "VIETNAM");
}
Either you create your own system or you use an existing one like y_languages