23.06.2010, 00:58
For my age input at the register, how do I check if they entered over 18 and younger than 90?
if(strval(inputtext) <= 16)
{
SendClientMessage(playerid, COLOR_WHITE, "SERVER: This is a 17+ Only Server, Grow up and Come Back.");
Kick(playerid);
return 1;
}
if(strval(inputtext) >= 100)
{
SendClientMessage(playerid, COLOR_WHITE, "SERVER: Incorrect Age, You need to enter a Real Age.");
ShowAgeDialog(playerid,DAGE);
return 1;