27.07.2014, 16:56
I have one problem
I made that when player create car it will attach 3dtextlabel to the car. all works but when player get out of the car its disappear
VC[playerid] = CreateVehicle(dini_Int(file,"Vmodel"), 0.0, 0.0, 0.0, 0.0, -1, -1, 60);
format(Vehicle_F,sizeof(Vehicle_F),"{CCFF66}%s {FF0066}:дбтмйн щм дшлб", getname[playerid]);
VC[playerid] = Create3DTextLabel(Vehicle_F, 0xFFFF00FF,0,0,0,20.0,0);
Attach3DTextLabelToVehicle(VC[playerid],VC[playerid],0.0,0.0,0.0);
I made that when player create car it will attach 3dtextlabel to the car. all works but when player get out of the car its disappear
VC[playerid] = CreateVehicle(dini_Int(file,"Vmodel"), 0.0, 0.0, 0.0, 0.0, -1, -1, 60);
format(Vehicle_F,sizeof(Vehicle_F),"{CCFF66}%s {FF0066}:дбтмйн щм дшлб", getname[playerid]);
VC[playerid] = Create3DTextLabel(Vehicle_F, 0xFFFF00FF,0,0,0,20.0,0);
Attach3DTextLabelToVehicle(VC[playerid],VC[playerid],0.0,0.0,0.0);