Player Name (+rep)
#10

You would have to use str_replace from strlib and replace the underline with <<<>>> like so:

pawn Код:
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid,  PlayerName, sizeof(PlayerName));
str_replace("_", "<<<>>>", playerName);
Then you would use PlayerTextDrawSetString, PlayerTextDrawHide and PlayerTextDrawShow. You should also use that str_replace at the time you set the TextDraw's string or save it to a variable.
Reply


Messages In This Thread
Player Name (+rep) - by ScripteRMKD - 13.02.2014, 13:08
Re: Player Name (+rep) - by SaltySandy - 13.02.2014, 13:10
Re: Player Name (+rep) - by ScripteRMKD - 13.02.2014, 13:14
Re: Player Name (+rep) - by $Marco$ - 13.02.2014, 13:16
Re: Player Name (+rep) - by ScripteRMKD - 13.02.2014, 14:54
Re: Player Name (+rep) - by Avi Raj - 13.02.2014, 15:04
Re: Player Name (+rep) - by ScripteRMKD - 13.02.2014, 15:22
Re: Player Name (+rep) - by ScripteRMKD - 13.02.2014, 22:08
Re: Player Name (+rep) - by TheFlyer - 13.02.2014, 22:36
Re: Player Name (+rep) - by AlonzoTorres - 13.02.2014, 22:41

Forum Jump:


Users browsing this thread: 1 Guest(s)