09.03.2013, 13:11
You can get the playerid from the player name, just compare it:
pawn Код:
foreach ( new i: Player)
{
if(strcmp(playername, GetPlayerName(..i), true) != -1)
return i;
}