Warnings -
JayceonTaylor - 21.07.2013
Hello how can i fix these warnings :
pawn Код:
(1041) : warning 202: number of arguments does not match definition
(1041) : warning 202: number of arguments does not match definition
(1041) : warning 202: number of arguments does not match definition
(1043) : warning 202: number of arguments does not match definition
(1043) : warning 202: number of arguments does not match definition
(1043) : warning 202: number of arguments does not match definition
pawn Код:
car1 = CreateVehicle(545,2290.9507,-67.5337,26.0736,0.0070,0,0,600);
car1text = Create3DTextLabel( "car - ComptonNigga", COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 );
taxi1 = CreateObject(19311, 2290.60962, -57.55190, 27.13850); //41 line
Attach3DTextLabelToVehicle( car1text, car1, 0.0, 0.0, 0.0);
AttachObjectToVehicle(taxi1, car1, 2290.60962, -57.55190, 27.13850); // 43 line
Re: Warnings -
mahdi499 - 21.07.2013
pawn Код:
car1 = CreateVehicle(545,2290.9507,-67.5337,26.0736,0.0070,0,0,600);
car1text = Create3DTextLabel( "car - ComptonNigga", COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 );
taxi1 = CreateObject(19311, 2290.60962, -57.55190, 27.13850, 0, 0 , 0, 50); //41 line
Attach3DTextLabelToVehicle( car1text, car1, 0.0, 0.0, 0.0);
AttachObjectToVehicle(taxi1, car1, 2290.60962, -57.55190, 27.13850, 0, 0, 0); // 43 line
you forgot the rotations i made them 0
Re: Warnings -
Aerotactics - 21.07.2013
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float: DrawDistance)
AttachObjectToVehicle(objectid, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ)
You are missing definitions. Hope this Helped!
Re : Warnings -
JayceonTaylor - 21.07.2013
My create object is
pawn Код:
CreateObject(19311, 2290.60962, -57.55190, 27.13850, 0.00000, 0.00000, 91.00000);
Code must to be like this ?
pawn Код:
car1 = CreateVehicle(545,2290.9507,-67.5337,26.0736,0.0070,0,0,600);
car1text = Create3DTextLabel( "car - ComptonNigga", COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 );
taxi1 = CreateObject(19311, 2290.60962, -57.55190, 27.13850, 0, 0, 91, 50); //41 line
Attach3DTextLabelToVehicle( car1text, car1, 0.0, 0.0, 0.0);
AttachObjectToVehicle(taxi1, car1, 2290.60962, -57.55190, 27.13850, 0, 0, 91);
Re : Warnings -
JayceonTaylor - 21.07.2013
any help

