27.07.2009, 15:35
Then make one >.> geez
pawn Код:
ReturnUser(name[])
{
new string[MAX_PLAYER_NAME];
for(new playerid; playerid < MAX_PLAYERS; playerid++)
{
GetPlayerName(playerid,string,sizeof(string));
if(strfind(string,name,true)>-1)return playerid;
}
return INVALID_PLAYER_ID;
}