Name help..
#2

pawn Код:
public OnPlayerConnect(playerid)
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
new var = strfind(Name, "_", true);
new NewName[MAX_PLAYER_NAME];
strmid(NewName, Name, 0, var, sizeof(NewName));
return true;
}
Something like this?
Reply


Messages In This Thread
Name help.. - by SiJ - 27.02.2010, 16:50
Re: Name help.. - by ¤Adas¤ - 27.02.2010, 17:01
Re: Name help.. - by smeti - 27.02.2010, 18:54

Forum Jump:


Users browsing this thread: 1 Guest(s)