ruben88 Posted April 10, 2011 Report Share Posted April 10, 2011 Salut,as vrea sa imi traduc serverul meu si in engleza,adik sa poti ca sa selecteze playeri pe ce limba vor ei sa fie serveru,vati prins voi...Nu stiu cum,am nevoie de ajutor Link to comment Share on other sites More sharing options...
IstuntmanI Posted April 10, 2011 Report Share Posted April 10, 2011 Foloseste o variabila pentru limba. De exemplu pui asta sus in script:new Language[MAX_PLAYERS]; Faci o comanda sa selectezi limba, iar apoi faci o functie de genul asta (sau o iei direct pe asta): stock SendClientMessageLanguage(playerid, color, eng[], ro[]) { switch( Language[playerid] ) { case 0: SendClientMessage(playerid, color, eng); //mesaj engleza case 1: SendClientMessage(playerid, color, ro); //mesaj romana } }Si poti sa schimbi sa dea la toti playerii cu limba lor, sa dea si cu gametext pe limba, etc.Si in loc de SendClientMessage(playerid, color, message); folosesti SendClientMessageLanguage(playerid, color, eng_message, ro_message);. Link to comment Share on other sites More sharing options...
Question
ruben88
Salut,as vrea sa imi traduc serverul meu si in engleza,adik sa poti ca sa selecteze playeri pe ce limba vor ei sa fie serveru,vati prins voi...
Nu stiu cum,am nevoie de ajutor
Link to comment
Share on other sites
1 answer to this question
Recommended Posts