How to do this things?
#10

PHP код:
new playerName[MAX_PLAYER_NAME];
new 
slicedName[2][MAX_PLAYER_NAME];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
split(playerNameslicedName'_');
printf("Your firstname is %s and your lastname is %s."slicedName[0], slicedName[1]); 
Use slicedName[0] and slicedName[1] for the first name and last name respectively.
Reply


Messages In This Thread
How to do this things? - by akib - 09.06.2017, 12:14
Re: How to do this things? - by Whatname - 09.06.2017, 12:24
Re: How to do this things? - by akib - 09.06.2017, 12:25
Re: How to do this things? - by Whatname - 09.06.2017, 12:26
Re: How to do this things? - by akib - 09.06.2017, 12:29
Re: How to do this things? - by Threshold - 09.06.2017, 12:34
Re: How to do this things? - by Whatname - 09.06.2017, 12:35
Re: How to do this things? - by Vince - 09.06.2017, 13:35
Re: How to do this things? - by Whatname - 09.06.2017, 14:15
Re: How to do this things? - by StaticYey - 09.06.2017, 14:54

Forum Jump:


Users browsing this thread: 2 Guest(s)