Guest User

Untitled

a guest
Nov 11th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. for(new i = 1; i < MAX_PVOZILA; i++)
  2. {
  3. new pvFile[50], stringce[200];
  4. format(pvFile, sizeof(pvFile), PVOZILA_FILE, i);
  5. if(fexist(pvFile))
  6. {
  7. INI_ParseFile(pvFile, "LoadPVozila", .bExtra = true, .extra = i);
  8. PosaoVInfo[i][posaovVehID] = hex_CreateVehicle(PosaoVInfo[i][posaovModel], PosaoVInfo[i][posaovVoziloPoz][0], PosaoVInfo[i][posaovVoziloPoz][1], PosaoVInfo[i][posaovVoziloPoz][2], PosaoVInfo[i][posaovVoziloPoz][3], PosaoVInfo[i][posaovBoja][0], PosaoVInfo[i][posaovBoja][1], 2400);
  9. format(stringce,sizeof(stringce),""#hex_shelper"[ %s ]", PosaoInfo[PosaoVInfo[i][posaovPosaoID]][posaoIme]);
  10. PosaoVLabel[i] = Create3DTextLabel(stringce, 0x33CCFFFF, 0.0, 0.0, 0.0, 15.0, 0, 1);
  11. Attach3DTextLabelToVehicle(PosaoVLabel[i], PosaoVInfo[i][posaovVehID], 0.0, 0.0, 0.0);
  12. brojposaov ++;
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment