Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Text3D:VehicleLabel[MAX_VEHICLES];
- for(new c = 0; c < MAX_VEHICLES; c++)
- {
- if(IsAnOwnableCar(c))
- {
- if(CarInfo[c][cOwned]==0)
- {
- new Float:x,Float:y,Float:z; GetVehiclePos(c, x,y,z);
- format(PropertyString,sizeof(PropertyString),"{F81414}Vozilo na prodaju\n Model: %s \n Cena: $%d \n /v buy da kupis!{FFFFFF}",CarInfo[c][cDescription],CarInfo[c][cValue]);
- VehicleLabel[c] = CreateDynamic3DTextLabel(PropertyString ,0xFF0000CC,x, y, z,15, INVALID_PLAYER_ID, c, 0, -1, -1, -1, 30.0);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement