02.08.2012, 21:46
I was wondering if their is a way to get a textdraw to show a player his name,i tried doing something similar to the sendclientmessage way but the textdraw just says %s
new string[100], PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), "%s", PlayerName); TextDrawSetString(TextDraw, string); TextDrawShowForAll(TextDraw); |
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
TextDrawSetString(TextDraw, PlayerName);
TextDrawShowForAll(TextDraw);