Hey scripters, In short, this function returns player name from the ID, what might be useful.
stock GetPlayerNameFromID(playerid)
{
new str[MAX_PLAYER_NAME], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(str, sizeof(str), "%s", pname);
return str;
}