Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// FILTERSCRIPT - PLAYER NAME TEXTDRAW
- /// FAMILIASAMP.COM
- #include <a_samp>
- new PlayerText:Name[MAX_PLAYERS];
- public OnPlayerConnect(playerid)
- {
- Name[playerid] = CreatePlayerTextDraw(playerid, 268.800262, 147.092788, "");
- PlayerTextDrawLetterSize(playerid, Name[playerid], 0.575598, 2.436265);
- PlayerTextDrawAlignment(playerid, Name[playerid], 1);
- PlayerTextDrawColor(playerid, Name[playerid], 838166474);
- PlayerTextDrawSetShadow(playerid, Name[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Name[playerid], 2);
- PlayerTextDrawBackgroundColor(playerid, Name[playerid], 51);
- PlayerTextDrawFont(playerid, Name[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Name[playerid], 1);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- new string[190], playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid, playername, sizeof(playername));
- format(string, sizeof(string), "%s", playername);
- PlayerTextDrawSetString(playerid, Name[playerid], string);
- PlayerTextDrawShow(playerid, Name[playerid]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement