cstef4n Posted May 23 Posted May 23 am si eu o problema, cand achizitionez 3d text label pe vehicul si il vand la dealership, apoi cand cumpar alt vehicul din dealership imi arata 3d text label-ul pe vehicul cu toate ca nu e upgradat. COD: function attach_label_text(idd) { new string[256]; if(strlen(CarInfo[idd][c3DTextLabelText]) > 4) { format(string, sizeof(string), "%s", CarInfo[idd][c3DTextLabelText]); vehicle3Dtext[CarInfo[idd][Spawned]] = Create3DTextLabel(string, 0xFF0000AA, 0.0, 0.0, 0.0, 15.0, 0, 1 ); Attach3DTextLabelToVehicle(vehicle3Dtext[CarInfo[idd][Spawned]] , CarInfo[idd][Spawned], 0.0, 0.0, 0.0); } return 1; } Video:
0 ahmesito Posted May 23 Posted May 23 nu il distrugi la despawn https://github.com/ionut1337/gamemode-lurk
0 cstef4n Posted May 25 Author Posted May 25 il distrug la despawnvehicle dar tot imi arata text3d-ul if(strlen(CarInfo[dbid][c3DTextLabelText]) > 4) DestroyDynamic3DTextLabel(vehicle3Dtext[CarInfo[dbid][Spawned]]);
0 cstef4n Posted May 25 Author Posted May 25 Am rezolvat, trebuia Delet3DTextlabel nu Distroy; Puteti da T/C
Question
cstef4n
am si eu o problema, cand achizitionez 3d text label pe vehicul si il vand la dealership, apoi cand cumpar alt vehicul din dealership imi arata 3d text label-ul pe vehicul cu toate ca nu e upgradat.
COD:
function attach_label_text(idd) {
new string[256];
if(strlen(CarInfo[idd][c3DTextLabelText]) > 4) {
format(string, sizeof(string), "%s", CarInfo[idd][c3DTextLabelText]);
vehicle3Dtext[CarInfo[idd][Spawned]] = Create3DTextLabel(string, 0xFF0000AA, 0.0, 0.0, 0.0, 15.0, 0, 1 );
Attach3DTextLabelToVehicle(vehicle3Dtext[CarInfo[idd][Spawned]] , CarInfo[idd][Spawned], 0.0, 0.0, 0.0);
}
return 1;
}
Video:
3 answers to this question
Recommended Posts