15.02.2011, 14:38
That's easy to make, you just need to get the players name and return it.
And don't just copy/paste the code... :S
pawn Код:
stock GetName(playerid)
{
new pName[MAX_PLAYER_NAME];
if( IsPlayerConnected(playerid))
{
GetPlayerName(playerid, pName, sizeof(pName));
}
return pName;
}