10.06.2010, 21:28
I'm trying to create a dialog that will get the age when the player types it in the dialog.
The problem is that I don't know if it's possible to convert strings to int in pawn.
I don't want to change Age to a string.
The problem is that I don't know if it's possible to convert strings to int in pawn.
pawn Код:
if(IsNumeric(inputtext))
{
PlayerInfo[playerid][pAge] = inputtext;
}
Код:
error 033: array must be indexed (variable "inputtext") error 006: must be assigned to an array