SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Romānă/Romanian (https://forum.sa-mp.com/forumdisplay.php?f=40)
-   -   Erori la textdrawuri (https://forum.sa-mp.com/showthread.php?t=651669)

Calinut200 24/03/2018 11:21 PM

Erori la textdrawuri
 
Salut!Ma joc si eu putin prin textdrawuri sa fac un text micut pentru fiecare player, nu-i global.
Dar dau de astea
PHP Code:

D:\Server de samp\filterscripts\textdraw.pwn(18) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(19) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(20) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(21) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(22) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(23) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(24) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(25) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(26) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(27) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(28) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(29) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(30) : warning 213tag mismatch 

Ce ar putea fii?
Astea sunt variabilele si tot
PHP Code:

new Text:textdraw1[MAX_PLAYERS]; 

PHP Code:

    textdraw1[playerid] = CreatePlayerTextDraw(playerid, -28.000000348.812500"");
    
PlayerTextDrawLetterSize(playeridtextdraw1[playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridtextdraw1[playerid], 90.00000090.000000);
    
PlayerTextDrawAlignment(playeridtextdraw1[playerid], 1);
    
PlayerTextDrawColor(playeridtextdraw1[playerid], -1);
    
PlayerTextDrawSetShadow(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetOutline(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawFont(playeridtextdraw1[playerid], 5);
    
PlayerTextDrawSetProportional(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetShadow(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetPreviewModel(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetPreviewRot(playeridtextdraw1[playerid], 0.0000000.00000015.0000001.000000);
    
TextDrawShowForPlayer(playerid,Text:textdraw1[playerid]); 

Multumesc frumos pentru ajutor!

ForCop 25/03/2018 12:22 AM

Re: Erori la textdrawuri
 
Quote:

Originally Posted by Calinut200 (Post 4006218)
Salut!Ma joc si eu putin prin textdrawuri sa fac un text micut pentru fiecare player, nu-i global.
Dar dau de astea
PHP Code:

D:\Server de samp\filterscripts\textdraw.pwn(18) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(19) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(20) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(21) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(22) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(23) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(24) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(25) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(26) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(27) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(28) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(29) : warning 213tag mismatch
D
:\Server de samp\filterscripts\textdraw.pwn(30) : warning 213tag mismatch 

Ce ar putea fii?
Astea sunt variabilele si tot
PHP Code:

new Text:textdraw1[MAX_PLAYERS]; 

PHP Code:

    textdraw1[playerid] = CreatePlayerTextDraw(playerid, -28.000000348.812500"");
    
PlayerTextDrawLetterSize(playeridtextdraw1[playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridtextdraw1[playerid], 90.00000090.000000);
    
PlayerTextDrawAlignment(playeridtextdraw1[playerid], 1);
    
PlayerTextDrawColor(playeridtextdraw1[playerid], -1);
    
PlayerTextDrawSetShadow(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetOutline(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawFont(playeridtextdraw1[playerid], 5);
    
PlayerTextDrawSetProportional(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetShadow(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetPreviewModel(playeridtextdraw1[playerid], 0);
    
PlayerTextDrawSetPreviewRot(playeridtextdraw1[playerid], 0.0000000.00000015.0000001.000000);
    
TextDrawShowForPlayer(playerid,Text:textdraw1[playerid]); 

Multumesc frumos pentru ajutor!

Code:

        new PlayerText:textdraw1[MAX_PLAYERS];
       
        textdraw1[playerid] = CreatePlayerTextDraw(playerid, -28.000000, 348.812500, "");
        PlayerTextDrawLetterSize(playerid, textdraw1[playerid], 0.000000, 0.000000);
        PlayerTextDrawTextSize(playerid, textdraw1[playerid], 90.000000, 90.000000);
        PlayerTextDrawAlignment(playerid, textdraw1[playerid], 1);
        PlayerTextDrawColor(playerid, textdraw1[playerid], -1);
        PlayerTextDrawSetShadow(playerid, textdraw1[playerid], 0);
        PlayerTextDrawSetOutline(playerid, textdraw1[playerid], 0);
        PlayerTextDrawBackgroundColor(playerid, textdraw1[playerid], 0);
        PlayerTextDrawFont(playerid, textdraw1[playerid], 5);
        PlayerTextDrawSetProportional(playerid, textdraw1[playerid], 0);
        PlayerTextDrawSetShadow(playerid, textdraw1[playerid], 0);
        PlayerTextDrawSetPreviewModel(playerid, textdraw1[playerid], 0);
        PlayerTextDrawSetPreviewRot(playerid, textdraw1[playerid], 0.000000, 0.000000, 15.000000, 1.000000);
        PlayerTextDrawShow(playerid,textdraw1[playerid]);



All times are GMT. The time now is 01:45 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.