05.09.2014, 13:23
(
Последний раз редактировалось hillko; 05.09.2014 в 14:09.
)
the thing is that in my games gamemodes error with 3d text!
suppose the aircraft is sold and on it was written the price, but when I buy it there my nickname, and the price does not disappear! that is nick and price all together! How to make price disappeared after the purchase of this aircraft ?
here are the lines
and when selling my nick is not removed at the price back!
suppose the aircraft is sold and on it was written the price, but when I buy it there my nickname, and the price does not disappear! that is nick and price all together! How to make price disappeared after the purchase of this aircraft ?
here are the lines
Код HTML:
stock TextPlan() { for(new i;i<MAX_AIR;i++) { if(!strcmp(Samol[i][cOwner],"sell",true,24)) { new strfd2[120], string[120]; format(strfd2, sizeof(strfd2), "{da70d6}Ïðîäàåòñÿ\n Öåíà: {c0ff00}%d", Samol[i][cCoast]); aeroo[i] = CreateDynamic3DTextLabel(strfd2, 0xFFFFFFAA, 0.0, 0.0, 1.0, 30.0, INVALID_PLAYER_ID, Samol[i][cCarID]); Update3DTextLabelText(aeroo[i], COLOR_WHITE, string); //Attach3DTextLabelToVehicle(aeroo[i], Samol[i][cCarID], 0.0, 0.0, 1.0, 30.0); }else{ new strfd2[120], string[120]; format(strfd2, sizeof(strfd2), "{ff9966}Âëàäåëåö: {ffcc00}%s", Samol[i][cOwner]); aeroo[i] = CreateDynamic3DTextLabel(strfd2, 0xFFFFFFAA, 0.0, 0.0, 1.0, 30.0, INVALID_PLAYER_ID, Samol[i][cCarID]); Update3DTextLabelText(aeroo[i], COLOR_WHITE, string); //Attach3DTextLabelToVehicle(aeroo[i], Samol[i][cCarID], 0.0, 0.0, 1.0, 30.0); } } return 1; } stock DelTextPlan() { for(new i;i<MAX_AIR;i++) { Delete3DTextLabel(Text3D:aeroo[i]); } return 1; }