Skripta koju koristim: Svoju
Detaljan opis problema: Nemogu da rijesim ove errore
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno):
(http://www.dodaj.rs/t/2u/13V/2xAdGgEE/123.jpg) (http://www.dodaj.rs/?2u/13V/2xAdGgEE/123.png)
(http://www.dodaj.rs/t/X/Ko/2xH4la7z/sdadsa.jpg) (http://www.dodaj.rs/?X/Ko/2xH4la7z/sdadsa.png)
Koristim ovako:
for(new c = 0; c < MAX_VEHICLES; c++)
{
new model[64];
GetVehicleName(c, model, sizeof(model));
if(IsAnOwnableCar(c))
{
if(CarInfo[c][cOwned]==0)
{
new Float:x,Float:y,Float:z; GetVehiclePos(c, x,y,z);
format(stringsbz,sizeof(stringsbz),"{F81414}Vozilo na prodaju\n Model: %s \n Cena: $%d \n /v buy da kupis!{FFFFFF}",model,CarInfo[c][cValue]);
VehicleLabel[c] = Create3DTextLabel(stringsbz, 0xFF0000CC, x, y, z, 20, 0, 1);
Attach3DTextLabelToVehicle(VehicleLabel[c],c,0,0,0);
}
else if(CarInfo[c][cOwned] == 1) // By: Dowla:)
{
new Float:x,Float:y,Float:z; GetVehiclePos(c, x,y,z);
format(stringsbz,sizeof(stringsbz),"%s",CarInfo[c][cOwner]);
VehicleLabels[c] = Create3DTextLabel(stringsbz, 0xC0C0C0C8, x, y, z, 20, 0, 1);
Attach3DTextLabelToVehicle(VehicleLabels[c],c,0,0,0);
}
}
}