Descriere : Va voi arata cum sa creeati un textdraw care acesta contine cand sunteti online pe server va arata jos sub mapa numele tau .
1. Creeam linia :
new Text:Nume[MAX_PLAYERS];
2. Cauta in GM [Ctrl+F] linia :
//OnPlayerConnect
Dam putin mai jos gasim linia format(string, sizeof(string), "%s.ini", plname); si sub ea punem acest cod:
//-------------------------------------------
new pnamee[24];
GetPlayerName(playerid, pnamee, sizeof(pnamee));
Nume[playerid]= TextDrawCreate(28.000000,428.000000,pnamee);
TextDrawAlignment(Nume[playerid],0);
TextDrawBackgroundColor(Nume[playerid],0xffffffff);
TextDrawFont(Nume[playerid],1);
TextDrawLetterSize(Nume[playerid],0.799999,1.200000);
TextDrawColor(Nume[playerid],0x00ff0033);
TextDrawSetOutline(Nume[playerid],1);
TextDrawSetProportional(Nume[playerid],1);
TextDrawSetShadow(Nume[playerid],1);
TextDrawShowForPlayer(playerid,Nume[playerid]);
//-------------------------------------------
3. Cautam in GM[Ctrl+F] linia :
//OnPlayerDisconnect
Punem dupa ea :
TextDrawDestroy(Nume[playerid]);