Will strval convert a player's name to the player's ID?
#6

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)