17.01.2015, 13:01
Use sscanf its lot more easier and has a specifier already for that
Example
PS. You need sscanf plugin and include to use this function
Example
pawn Код:
new id;
if(sscanf(nev, "u", id))
{
//player is NOT connected
}
else
{
//now 'id' contains id of the player who's name is in 'nev'
}

