Player Textdraw problem,please help me.
#9

PHP код:
new
Text: LoginTD[11],
PlayerText: LoginPTD[MAX_PLAYERS][3];
Load(playerid){
    
LoginPTD[playerid][0] = CreatePlayerTextDraw(playerid, 249.707031, 188.833358, "NUME: wNekiRo");
    
PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][0], 0.400000, 1.600000);
    
PlayerTextDrawTextSize(playerid, LoginPTD[playerid][0], 377.000000, 0.000000);
    
PlayerTextDrawAlignment(playerid, LoginPTD[playerid][0], 1);
    
PlayerTextDrawColor(playerid, LoginPTD[playerid][0], -1);
    
PlayerTextDrawUseBox(playerid, LoginPTD[playerid][0], 1);
    
PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][0], 255);
    
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][0], 0);
    
PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][0], 0);
    
PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][0], 255);
    
PlayerTextDrawFont(playerid, LoginPTD[playerid][0], 1);
    
PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][0], 1);
    
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][0], 0);
    
PlayerTextDrawSetSelectable(playerid, LoginPTD[playerid][0], true); 
    
    
LoginPTD[playerid][1] = CreatePlayerTextDraw(playerid, 312.957336, 275.750000, "Last Login: 01.10.2018 20:00:00");
    
PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][1], 0.274436, 1.389999);
    
PlayerTextDrawTextSize(playerid, LoginPTD[playerid][1], 0.000000, 144.000000);
    
PlayerTextDrawAlignment(playerid, LoginPTD[playerid][1], 2);
    
PlayerTextDrawColor(playerid, LoginPTD[playerid][1], -1);
    
PlayerTextDrawUseBox(playerid, LoginPTD[playerid][1], 1);
    
PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][1], 255);
    
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][1], 0);
    
PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][1], 0);
    
PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][1], 255);
    
PlayerTextDrawFont(playerid, LoginPTD[playerid][1], 1);
    
PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][1], 1);
    
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][1], 0);
    
LoginPTD[playerid][2] = CreatePlayerTextDraw(playerid, 250.644073, 233.166671, "PAROLA: CLICK");
    
PlayerTextDrawLetterSize(playerid, LoginPTD[playerid][2], 0.400000, 1.600000);
    
PlayerTextDrawTextSize(playerid, LoginPTD[playerid][2], 378.000000, 0.000000);
    
PlayerTextDrawAlignment(playerid, LoginPTD[playerid][2], 1);
    
PlayerTextDrawColor(playerid, LoginPTD[playerid][2], -1);
    
PlayerTextDrawUseBox(playerid, LoginPTD[playerid][2], 1);
    
PlayerTextDrawBoxColor(playerid, LoginPTD[playerid][2], 255);
    
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][2], 0);
    
PlayerTextDrawSetOutline(playerid, LoginPTD[playerid][2], 0);
    
PlayerTextDrawBackgroundColor(playerid, LoginPTD[playerid][2], 255);
    
PlayerTextDrawFont(playerid, LoginPTD[playerid][2], 1);
    
PlayerTextDrawSetProportional(playerid, LoginPTD[playerid][2], 1);
    
PlayerTextDrawSetShadow(playerid, LoginPTD[playerid][2], 0);
    
PlayerTextDrawSetSelectable(playerid, LoginPTD[playerid][2], true);
} 
Works normally. Also you may have redefined MAX_PLAYERS and some other macros too. Be sure to use your macro definition instead of MAX_PLAYERS
Reply


Messages In This Thread
Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 10:50
Re: Player Textdraw problem,please help me. - by v1k1nG - 21.10.2018, 11:03
Re: Player Textdraw problem,please help me. - by SiNaGaMeR - 21.10.2018, 11:08
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:08
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:11
Re: Player Textdraw problem,please help me. - by v1k1nG - 21.10.2018, 11:11
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:16
Re: Player Textdraw problem,please help me. - by ExodusxD - 21.10.2018, 11:21
Re: Player Textdraw problem,please help me. - by v1k1nG - 21.10.2018, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)