2021-03-16, 03:39 PM
Use sscanf as mentioned in the previous post.
PHP Code:
IdByName(const name[])
{
? ? new playerid;
? ? sscanf(name, "u", playerid);
? ? return playerid;
}