18.01.2015, 16:42
tag mismatch
number of arguments does not match definition
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);
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,8.0,1043.5070,1010.2909,11.0000,308.6297)) //NG