Quote:
Originally Posted by iPLEOMAX
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."); } }
|
You should not ignore case sens., there can be player with name AlEx_OBanDo or something else like this.