03.01.2013, 16:55
Hello,
Today I come to you because I have a problem with a function that I have a lot of utility.
In these codes, the function does not run.
We go straight to the following condition, do you have a solution?
Sincerely,
Post original: https://sampforum.blast.hk/showthread.php?tid=404543
Traduction for: http://translate.******.com : French -> English
Today I come to you because I have a problem with a function that I have a lot of utility.
pawn Код:
if(strlen(inputtext) < 1){
SendMessage(playerid, COLOR_SERVER, "Problиme : "COL_RED"Aucun вge n'a йtй saisi, veuillez saisir l'вge de votre personnage.");
return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, COL_SERVER"Information", COL_SERVER"Veuillez saisir l'вge de votre personnage.\n"COL_GREEN"Cette information pourra кtre changйe par la suite.", "Continuer", "Quitter");
}
new old = strval(inputtext);
if(old < 18 || old > 60){
SendMessage(playerid, COLOR_SERVER, "Problиme : "COL_RED"L'вge de votre personnage est incorrect, l'вge du personnage doit кtre entre 18 et 60 ans.");
return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, COL_SERVER"Information", COL_SERVER"Veuillez saisir l'вge de votre personnage.\n"COL_GREEN"Cette information pourra кtre changйe par la suite.", "Continuer", "Quitter");
}
pawn Код:
if(!strlen(inputtext)){
SendMessage(playerid, COLOR_SERVER, "Problиme : "COL_RED"Aucun вge n'a йtй saisi, veuillez saisir l'вge de votre personnage.");
return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, COL_SERVER"Information", COL_SERVER"Veuillez saisir l'вge de votre personnage.\n"COL_GREEN"Cette information pourra кtre changйe par la suite.", "Continuer", "Quitter");
}
new old = strval(inputtext);
if(old < 18 || old > 60){
SendMessage(playerid, COLOR_SERVER, "Problиme : "COL_RED"L'вge de votre personnage est incorrect, l'вge du personnage doit кtre entre 18 et 60 ans.");
return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, COL_SERVER"Information", COL_SERVER"Veuillez saisir l'вge de votre personnage.\n"COL_GREEN"Cette information pourra кtre changйe par la suite.", "Continuer", "Quitter");
}
We go straight to the following condition, do you have a solution?
Sincerely,
Post original: https://sampforum.blast.hk/showthread.php?tid=404543
Traduction for: http://translate.******.com : French -> English