24.09.2009, 13:24
Or just use this code (if you're converting string to an integer):
pawn Код:
stock strvalEx(const string[]) // credits to the one who made this function.
{
if(strlen(string) > 40) return 0;
return strval(string);
}