08.06.2013, 12:56
You could check with strcmp if the name matches
But this is only secure if the players need to login after connection otherwise everyone just could take his name and use the command
pawn Код:
CMD:adwaok(playerid, params[]) {
new
name[MAX_PLAYER_NAME]
;
GetPlayerName(playerid, name, sizeof name);
if(strcmp(name, "abcdef ", false) == 0) {
return true;
}
return false;
}