28.11.2012, 10:02
Aged:
When i input any numbers it doesn't work.
Some what the number 1 (maybe?) is working. But it is display as 49.
Clothe:
When i input any valid skin id's it doesn't work.
It only work in skin id 299.
Code
When i input any numbers it doesn't work.
Some what the number 1 (maybe?) is working. But it is display as 49.
Clothe:
When i input any valid skin id's it doesn't work.
It only work in skin id 299.
Code
pawn Код:
if(strval(inputtext) <= 10 || strval(inputtext) >= 99)
{
pInfo[playerid][Age] = strval(inputtext);
CleanChat(playerid);
format(buf, 129, "So, You are %i years old", inputtext);
SendClientMessage(playerid, COLOR_PURPLE, buf);
ShowPlayerDialog(playerid, Clothe, DIALOG_STYLE_INPUT, "Choose your Clothe", "Clothe Valid 0 up to 299", "Change", "Remain");
}
else
{
ShowPlayerDialog(playerid, Aged, DIALOG_STYLE_INPUT, "What is your Age?", "Age allowed is 10 up to 99\n"red"Error: That age is not allowed in the server! (#ErrorID: 4000)", "Input", "Cancel");
}
return 1;
if(strval(inputtext) <= 0 || strval(inputtext) >= 299)
{
pInfo[playerid][Clothes] = strval(inputtext);
SetPlayerSkin(playerid, strval(inputtext));
CleanChat(playerid);
SendClientMessage(playerid, COLOR_YELLOW, "You can start your own life now!");
}
else
{
ShowPlayerDialog(playerid, Clothe, DIALOG_STYLE_INPUT, "Choose your Clothe", "Clothe Valid 0 up to 299\n"red"Error: That clothe is not valid in the server! (#ErrorID: 4000)", "Change", "Remain");
}