23.06.2011, 08:16
Check if the ID is online if he is just simply
EDIT: If you doesn't have "GetName" or something like that:
pawn Код:
format( string, sizeof( string ), "The ID that matches %s is %d.", GetName( id ), id );
SendClientMessage( playerid, WHITE, string );
pawn Код:
stock GetName( playerid )
{
new Name[ MAX_PLAYER_NAME ];
if( IsPlayerConnected( playerid ) )
{
GetPlayerName( playerid, Name, sizeof( Name ) );
}
else
{
Name = "Disconnected/Nothing";
}
return Name;
}

