27.12.2014, 10:16
Hello
I created my system of multi lang, except I have a problem with args in strings.
For exemple:
But the result is: Votre %s doit кtre compris entre %i et %i caractиres.
How I must to do to be: Votre Mot de passe dois кtre compris entre 5 et 30 caractиres.
Thank you for your future help
Jonas
I created my system of multi lang, except I have a problem with args in strings.
For exemple:
pawn Код:
strcat(t[MSG_STRLEN][LANG_FR], "~r~Votre %s dois кtre compris entre %i et %i caractиres.");
strcat(t[MSG_WORD_PASSWORD][LANG_FR], "Mot de passe");
if(!(5 <= strlen(inputtext) <= 30))
return SendDialog(playerid, D_LEFT, D_NORMAL, "%s", l(playerid, MSG_STRLEN), l(playerid, MSG_WORD_PASSWORD), 5, 30), ShowRegister(playerid);
How I must to do to be: Votre Mot de passe dois кtre compris entre 5 et 30 caractиres.
Thank you for your future help
Jonas