Textdraw errors
#5

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
You should use it like that..

PHP код:
xp[playerid] = CreatePlayerTextDraw(playerid,552.00000066.000000""); 
etc..

So the whole code should be like that..

PHP код:
   [COLOR="Red"]Hetalth[playerid] = CreatePlayerTextDraw(playerid,552.00000066.000000"");
    
PlayerTextDrawBackgroundColor(playerid,Hetalth255);
    
PlayerTextDrawFont(playerid,Hetalth1);
    
PlayerTextDrawLetterSize(playerid,Hetalth0.2200000.899999);
    
PlayerTextDrawColor(playerid,Hetalth, -1);
    
PlayerTextDrawSetOutline(playerid,Hetalth1);
    
PlayerTextDrawSetProportional(playerid,Hetalth1);
    
PlayerTextDrawSetSelectable(playerid,Hetalth0);
    
Armour[playerid] = CreatePlayerTextDraw(playerid,553.00000044.000000"");
    
PlayerTextDrawBackgroundColor(playerid,Armour255);
    
PlayerTextDrawFont(playerid,Armour1);
    
PlayerTextDrawLetterSize(playerid,Armour0.1900000.899999);
    
PlayerTextDrawColor(playerid,Armour, -65281);
    
PlayerTextDrawSetOutline(playerid,Armour1);
    
PlayerTextDrawSetProportional(playerid,Armour1);
    
PlayerTextDrawSetSelectable(playerid,Armour0);
    
pitng[playerid] = CreatePlayerTextDraw(playerid,609.0000000.000000"");
    
PlayerTextDrawBackgroundColor(playerid,pitng255);
    
PlayerTextDrawFont(playerid,pitng1);
    
PlayerTextDrawLetterSize(playerid,pitng0.5000001.000000);
    
PlayerTextDrawColor(playerid,pitng16711935);
    
PlayerTextDrawSetOutline(playerid,pitng1);
    
PlayerTextDrawSetProportional(playerid,pitng1);
    
PlayerTextDrawSetSelectable(playerid,pitng0);
    
xp[playerid] = CreatePlayerTextDraw(playerid,538.000000410.000000"");
    
PlayerTextDrawBackgroundColor(playerid,xp4607);[/COLOR]//till here the errors
    
PlayerTextDrawFont(playerid,xp1);
    
PlayerTextDrawLetterSize(playerid,xp0.5000001.000000);
    
PlayerTextDrawColor(playerid,xp, -1);
    
PlayerTextDrawSetOutline(playerid,xp1);
    
PlayerTextDrawSetProportional(playerid,xp1);
    
PlayerTextDrawSetSelectable(playerid,xp0); 
PHP код:
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(985) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(986) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(987) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(988) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(989) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(990) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(991) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(994) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(995) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(996) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(997) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(998) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(999) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1000) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1003) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1004) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1005) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1006) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1007) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1008) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1009) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1012) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1013) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1014) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1015) : error 035argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1016) : error 035argument type mismatch (argument 2)
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

Reply


Messages In This Thread
Textdraw errors - by mmostafa - 23.06.2018, 14:19
Re: Textdraw errors - by mmostafa - 23.06.2018, 14:25
Re: Textdraw errors - by JasonRiggs - 23.06.2018, 14:29
Re: Textdraw errors - by Sew_Sumi - 23.06.2018, 14:33
Re: Textdraw errors - by mmostafa - 23.06.2018, 14:56
Re: Textdraw errors - by Sew_Sumi - 23.06.2018, 22:09
Re: Textdraw errors - by UFF - 24.06.2018, 06:21
Re: Textdraw errors - by Logic_ - 24.06.2018, 06:25

Forum Jump:


Users browsing this thread: 1 Guest(s)