It's very hard to help you if you don't post your current code, please post the code from your /sellcar and the dialog (1) and the code where you create the 3DTextLabel (2).
|
if(listitem == 0)
{
if(Access[playerid] == 1) return SendClientMessage(playerid,COLOR_RED,"!йщ мк лбш шлб");
if(GetPlayerMoney(playerid) < 10000000) return SendClientMessage(playerid, COLOR_RED, "[10,000,000] !айп мк осфйч лсу мчрййъ шлб жд");
GivePlayerMoney(playerid, -10000000);
veh1 = CreateVehicle(411, -1981.7805, 267.7073, 35.1719, 179.5517, -1, -1, -1);
Access[playerid] = 1;
PutPlayerInVehicle(playerid, veh1, 0);
vehicle3Dtext[veh1] = Create3DTextLabel( "{FF8040}[{00FFFF}Infernus{FF8040}] - шлб жд деа айрфшрес\n{ECD742}/CarShop - зреъ шлбйн ойезгйн", COLOR_GREEN, 0.0, 0.0, 0.0, 50.0, 0, 1 );
Attach3DTextLabelToVehicle( vehicle3Dtext[veh1] , veh1, 0.0, 0.0, 1.0);
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"!озреъ дшлбйн дойезгйн , ъъзгщ Infernus чрд аъ дшлб %s дщзчп",pName);
SendClientMessageToAll(0x00FFFFFF,string);
AddVehicleComponent(veh1, 1010);
AddVehicleComponent(veh1, 1087);
AddVehicleComponent(veh1, 1080);
ChangeVehicleColor(veh1, 3, 0);
}