09.06.2017, 14:54
PHP код:
new playerName[MAX_PLAYER_NAME];
new slicedName[2][MAX_PLAYER_NAME];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
split(playerName, slicedName, '_');
printf("Your firstname is %s and your lastname is %s.", slicedName[0], slicedName[1]);