10.09.2011, 14:18
pawn Code:
new File: fhandler = fopen( "nyancat.languages", io_read );
new string[ 128 ]; // string which will be stored while reading
while ( fread( fhandler, string ) )
{
if ( !strcmp( string, "English", true ) ) NyanForAllPlayers( LANG_ENGLISH );
else if ( !strcmp( string, "Japanese", true ) ) NyanForAllPlayers( LANG_JAPAN );
}