Problem with args - 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: Problem with args (
/showthread.php?tid=552913)
Problem with args -
Noliax8 - 27.12.2014
Hello
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);
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