16.01.2016, 01:02
Alright so Ive got a lil bit of a problem. I want to display only players Initials. Ie my name would be Squirrel_LastName, I want to add like
"S. LastName says: %s"
Code
GetName basically just gets the full name. How do I make it somehow get only initials of FirstName but display full last name?
"S. LastName says: %s"
Code
PHP код:
new string[128];
format(string,sizeof(string),"%s says: %s",GetName(playerid),text);
PHP код:
stock GetName(playerid);
{
new szName[MAX_PLAYER_NAME];
GetPlayerName(playerid, szName, sizeof(szName));
return szName;
}