27.02.2010, 18:54
Quote:
Originally Posted by SiJ
Hey,
I'm using this to split player RP name to Firstname and Lastname: pawn Код:
|
pawn Код:
new
TextName[2][MAX_PLAYER_NAME],
pName[MAX_PLAYER_NAME];// = "FirstName_LastName";
GetPlayerName(playerid, pName, sizeof pName);
// Firstname Lastname
sscanf(pName, "p_ss", TextName[0], TextName[1]);
// LastName
Create3DTextLabel(TextName[1],COLOR_WHITE,0.0,0.0,0.0,50,0);