23.06.2018, 14:19
Hello guys,
i have this errors in the textdraws i made
Please Help me
i have this errors in the textdraws i made
PHP код:
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(984) : error 033: array must be indexed (variable "Hetalth")
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(985) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(986) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(987) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(988) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(989) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(990) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(991) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(993) : error 033: array must be indexed (variable "Armour")
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(994) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(995) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(996) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(997) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(998) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(999) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1000) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1002) : error 033: array must be indexed (variable "pitng")
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1003) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1004) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1005) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1006) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1007) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1008) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1009) : error 035: argument type mismatch (argument 2)
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1011) : error 033: array must be indexed (variable "xp")
C:\Users\Mohamed\Desktop\BGCNR By Jikesh\pawno\include\cnr/cnr_textdraws.inc(1012) : error 035: argument type mismatch (argument 2)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
PHP код:
[COLOR="Red"]Hetalth = CreatePlayerTextDraw(playerid,552.000000, 66.000000, "");
PlayerTextDrawBackgroundColor(playerid,Hetalth, 255);
PlayerTextDrawFont(playerid,Hetalth, 1);
PlayerTextDrawLetterSize(playerid,Hetalth, 0.220000, 0.899999);
PlayerTextDrawColor(playerid,Hetalth, -1);
PlayerTextDrawSetOutline(playerid,Hetalth, 1);
PlayerTextDrawSetProportional(playerid,Hetalth, 1);
PlayerTextDrawSetSelectable(playerid,Hetalth, 0);
Armour = CreatePlayerTextDraw(playerid,553.000000, 44.000000, "");
PlayerTextDrawBackgroundColor(playerid,Armour, 255);
PlayerTextDrawFont(playerid,Armour, 1);
PlayerTextDrawLetterSize(playerid,Armour, 0.190000, 0.899999);
PlayerTextDrawColor(playerid,Armour, -65281);
PlayerTextDrawSetOutline(playerid,Armour, 1);
PlayerTextDrawSetProportional(playerid,Armour, 1);
PlayerTextDrawSetSelectable(playerid,Armour, 0);
pitng = CreatePlayerTextDraw(playerid,609.000000, 0.000000, "");
PlayerTextDrawBackgroundColor(playerid,pitng, 255);
PlayerTextDrawFont(playerid,pitng, 1);
PlayerTextDrawLetterSize(playerid,pitng, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,pitng, 16711935);
PlayerTextDrawSetOutline(playerid,pitng, 1);
PlayerTextDrawSetProportional(playerid,pitng, 1);
PlayerTextDrawSetSelectable(playerid,pitng, 0);
xp = CreatePlayerTextDraw(playerid,538.000000, 410.000000, "");
PlayerTextDrawBackgroundColor(playerid,xp, 4607);[/COLOR]//till here the errors
PlayerTextDrawFont(playerid,xp, 1);
PlayerTextDrawLetterSize(playerid,xp, 0.500000, 1.000000);
PlayerTextDrawColor(playerid,xp, -1);
PlayerTextDrawSetOutline(playerid,xp, 1);
PlayerTextDrawSetProportional(playerid,xp, 1);
PlayerTextDrawSetSelectable(playerid,xp, 0);