05.08.2011, 19:08
pawn Код:
//Put this in your command:
new name[MAX_PLAYER_NAME];
for( new i=0; i<MAX_PLAYERS; i++ )
{
if( IsPlayerConnected(i) && !IsPlayerNPC(i) )
{
GetPlayerName (i, name, sizeof(name) );
if(!strcmp(name, "Alex_Obando", true)) return SendClientMessage(playerid, -1, "Alex is connected.");
}
}