16.03.2014, 14:57
add this at the end of your script
EDIT: didn't noticed that @vince already told u
pawn Code:
stock GetName(playerid)
{
new Name[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, Name, sizeof(Name));
}
return Name;
}