Advertisement
DexyHendrix

Untitled

Dec 14th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. new Text3D:VehicleLabel[MAX_VEHICLES];
  2. for(new c = 0; c < MAX_VEHICLES; c++)
  3. {
  4. if(IsAnOwnableCar(c))
  5. {
  6. if(CarInfo[c][cOwned]==0)
  7. {
  8. new Float:x,Float:y,Float:z; GetVehiclePos(c, x,y,z);
  9. 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]);
  10. VehicleLabel[c] = CreateDynamic3DTextLabel(PropertyString ,0xFF0000CC,x, y, z,15, INVALID_PLAYER_ID, c, 0, -1, -1, -1, 30.0);
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement