21.01.2012, 12:11
512 is enough. Also, the format and string at the end are wrong.
pawn Code:
if( strcmp( cmdtext, "/info", true ) == 0 )
{
if( IsPlayerConnected( playerid ) ) {
new
String[ 512 ];
strcat( String, "____________________ Server Info ____________________\n" );
strcat( String, "» Name:[Romania]*GameSpeed Comunity*[0.3d]\n" );
strcat( String, "» Ip: 93.114.82.66:7777\n" );
strcat( String, "» Date Of Inauguration: 5.1.2011\n" );
strcat( String, "» Slots: 60\n" );
strcat( String, "» Version: GameSpeed v1.1\n" );
strcat( String, "» Owners: RuSke & Tequila\n" );
strcat( String, "» Scripter: RuSke\n" );
strcat( String, "» Mapper: Tequila\n" );
strcat( String, "» Forum: GameSpeed.funkiZone.Com\n" );
strcat( String, "» Map: San Andreas\n" );
ShowPlayerDialog( playerid, 1, 0, "{FF0000}Server InFo", String, "Ok", "" );
}
return 1;
}