10.04.2009, 17:10
I would like to know what is the problem with this script:
Do not pay attention to variables size, because it's just a test script. When i write a text in-game i get letters " ''I " or something like that. It seems that convertation is completed successfully judging by a console but trust me, it's not.
pawn Код:
public OnPlayerText( playerid, text[ ] )
{
new
tmpvalue = strval( text );
printf( "%d", tmpvalue );
new
string[ 156 ];
format( string, 155, "Written number: %d", tmpvalue );
SendClientMessage( playerid, COLOR_WHITE, string );
return false;
}

