19.08.2008, 02:01
Quote:
Originally Posted by -Seif-
This is very useful for role playing servers that requires _ in their name. Basically this removes the _ in their chat by using this function:
pawn Код:
|
pawn Код:
stock GetUserName(playerid)
{
new string[24];
GetPlayerName(playerid,string,24);
for(new i = 0; i < 24; i++)
{
if (string[i] == '_')
{
string[i] = ' ';
}
}
return string;
}