Help me with warnings .. REP+
#1

tag mismatch
pawn Код:
label = Create3DTextLabel("BCSO-001", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label, FacInfo[1][fCars][0], 0.0, 0.0, 1.0);
    label1 = Create3DTextLabel("BCSO-002", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label1, FacInfo[1][fCars][1], 0.0, 0.0, 1.0);
    label2 = Create3DTextLabel("BCSO-003", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label2, FacInfo[1][fCars][2], 0.0, 0.0, 1.0);
    label3 = Create3DTextLabel("BCSO-004", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label3, FacInfo[1][fCars][3], 0.0, 0.0, 1.0);
    label4 = Create3DTextLabel("BCSO-005", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label4, FacInfo[1][fCars][4], 0.0, 0.0, 1.0);
    label5 = Create3DTextLabel("BCSO-006", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label5, FacInfo[1][fCars][5], 0.0, 0.0, 1.0);
    label6 = Create3DTextLabel("BCSO-007", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label6, FacInfo[1][fCars][6], 0.0, 0.0, 1.0);
    label7 = Create3DTextLabel("BCSO-008", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label7, FacInfo[1][fCars][7], 0.0, 0.0, 1.0);
    label8 = Create3DTextLabel("MARRY-001", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label8, FacInfo[1][fCars][8], 0.0, 0.0, 1.0);
    label9 = Create3DTextLabel("MARRY-002", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label9, FacInfo[1][fCars][9], 0.0, 0.0, 1.0);
    label10 = Create3DTextLabel("HSU-001", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label10, FacInfo[1][fCars][10], 0.0, 0.0, 1.0);
    label11 = Create3DTextLabel("HSU-002", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label11, FacInfo[1][fCars][11], 0.0, 0.0, 1.0);
    label12 = Create3DTextLabel("SWAT-001", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label12, FacInfo[1][fCars][12], 0.0, 0.0, 1.0);
    label13 = Create3DTextLabel("SWAT-002", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label13, FacInfo[1][fCars][13], 0.0, 0.0, 1.0);
    label14 = Create3DTextLabel("ASU-001", 0xFFFFFFFF, 0.0, 0.0, 0.0, 40, 0, 0);
    Attach3DTextLabelToVehicle(label14, FacInfo[1][fCars][14], 0.0, 0.0, 1.0);
number of arguments does not match definition
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,8.0,1043.5070,1010.2909,11.0000,308.6297)) //NG
Reply
#2

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

pawn Код:
if(IsPlayerInRangeOfPoint(playerid,8.0,1043.5070,1010.2909,11.0000))
Reply
#3

Quote:
Originally Posted by Ironboy
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

pawn Код:
if(IsPlayerInRangeOfPoint(playerid,8.0,1043.5070,1010.2909,11.0000))
Thanks bro .. REP +
Reply
#4

bump ..
Reply
#5

u said thanks, what's wrong ?
Reply
#6

Quote:
Originally Posted by Stuun23
Посмотреть сообщение
u said thanks, what's wrong ?
That was only for 2nd Warning not for first one .. 30 warnings from that one ..
Reply
#7

you maybe didn't assign the "Text3D" tag to the "label1" to etc label variables,
attach it to them.
e.g:
pawn Код:
new Text3D:label;
anywhere in script, do this for all label variables
Reply
#8

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
you maybe didn't assign the "Text3D" tag to the "label1" to etc label variables,
attach it to them.
e.g:
pawn Код:
new Text3D:label;
anywhere in script, do this for all label variables
Thanks it worked .. REP +
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)