Player Textdraw problem,please help me.
#9

PHP код:
new
TextLoginTD[11],
PlayerTextLoginPTD[MAX_PLAYERS][3];
Load(playerid){
    
LoginPTD[playerid][0] = CreatePlayerTextDraw(playerid249.707031188.833358"NUME: wNekiRo");
    
PlayerTextDrawLetterSize(playeridLoginPTD[playerid][0], 0.4000001.600000);
    
PlayerTextDrawTextSize(playeridLoginPTD[playerid][0], 377.0000000.000000);
    
PlayerTextDrawAlignment(playeridLoginPTD[playerid][0], 1);
    
PlayerTextDrawColor(playeridLoginPTD[playerid][0], -1);
    
PlayerTextDrawUseBox(playeridLoginPTD[playerid][0], 1);
    
PlayerTextDrawBoxColor(playeridLoginPTD[playerid][0], 255);
    
PlayerTextDrawSetShadow(playeridLoginPTD[playerid][0], 0);
    
PlayerTextDrawSetOutline(playeridLoginPTD[playerid][0], 0);
    
PlayerTextDrawBackgroundColor(playeridLoginPTD[playerid][0], 255);
    
PlayerTextDrawFont(playeridLoginPTD[playerid][0], 1);
    
PlayerTextDrawSetProportional(playeridLoginPTD[playerid][0], 1);
    
PlayerTextDrawSetShadow(playeridLoginPTD[playerid][0], 0);
    
PlayerTextDrawSetSelectable(playeridLoginPTD[playerid][0], true); 
    
    
LoginPTD[playerid][1] = CreatePlayerTextDraw(playerid312.957336275.750000"Last Login: 01.10.2018 20:00:00");
    
PlayerTextDrawLetterSize(playeridLoginPTD[playerid][1], 0.2744361.389999);
    
PlayerTextDrawTextSize(playeridLoginPTD[playerid][1], 0.000000144.000000);
    
PlayerTextDrawAlignment(playeridLoginPTD[playerid][1], 2);
    
PlayerTextDrawColor(playeridLoginPTD[playerid][1], -1);
    
PlayerTextDrawUseBox(playeridLoginPTD[playerid][1], 1);
    
PlayerTextDrawBoxColor(playeridLoginPTD[playerid][1], 255);
    
PlayerTextDrawSetShadow(playeridLoginPTD[playerid][1], 0);
    
PlayerTextDrawSetOutline(playeridLoginPTD[playerid][1], 0);
    
PlayerTextDrawBackgroundColor(playeridLoginPTD[playerid][1], 255);
    
PlayerTextDrawFont(playeridLoginPTD[playerid][1], 1);
    
PlayerTextDrawSetProportional(playeridLoginPTD[playerid][1], 1);
    
PlayerTextDrawSetShadow(playeridLoginPTD[playerid][1], 0);
    
LoginPTD[playerid][2] = CreatePlayerTextDraw(playerid250.644073233.166671"PAROLA: CLICK");
    
PlayerTextDrawLetterSize(playeridLoginPTD[playerid][2], 0.4000001.600000);
    
PlayerTextDrawTextSize(playeridLoginPTD[playerid][2], 378.0000000.000000);
    
PlayerTextDrawAlignment(playeridLoginPTD[playerid][2], 1);
    
PlayerTextDrawColor(playeridLoginPTD[playerid][2], -1);
    
PlayerTextDrawUseBox(playeridLoginPTD[playerid][2], 1);
    
PlayerTextDrawBoxColor(playeridLoginPTD[playerid][2], 255);
    
PlayerTextDrawSetShadow(playeridLoginPTD[playerid][2], 0);
    
PlayerTextDrawSetOutline(playeridLoginPTD[playerid][2], 0);
    
PlayerTextDrawBackgroundColor(playeridLoginPTD[playerid][2], 255);
    
PlayerTextDrawFont(playeridLoginPTD[playerid][2], 1);
    
PlayerTextDrawSetProportional(playeridLoginPTD[playerid][2], 1);
    
PlayerTextDrawSetShadow(playeridLoginPTD[playerid][2], 0);
    
PlayerTextDrawSetSelectable(playeridLoginPTD[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: 3 Guest(s)