06.09.2013, 14:10
i is for integer, and you are trying to capture it in a string. Strval is not neccessary if you use i or d. Also sscanf returns 0 on success, and other values on error. So
pawn Код:
new
age;
if(!sscanf(inputtext, "i", age)) {
if(13 <= age <= 99) return SendClientMessage(playerid, -1, "You dun goof'd, age between 13 and 99 must be, Yoda said so");
PlayerInfo[playerid][pAge] = age;