Guest User

Untitled

a guest
Dec 24th, 2016
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. for(new i = 1; i < MAX_POSAOV; i++)
  2. {
  3. new pvFile[50];
  4. format(pvFile, sizeof(pvFile), POSLOVIV_FILE, i);
  5. if(fexist(pvFile))
  6. {
  7. INI_ParseFile(pvFile, "UcitajPosaoV", .bExtra = true, .extra = i);
  8. POSAOV_INFO[i][posaov_VehID] = g_CreateVehicle_g(POSAOV_INFO[i][posaov_Model], POSAOV_INFO[i][posaov_VoziloPoz][0], POSAOV_INFO[i][posaov_VoziloPoz][1], POSAOV_INFO[i][posaov_VoziloPoz][2], POSAOV_INFO[i][posaov_VoziloPoz][3], POSAOV_INFO[i][posaov_Boja][0], POSAOV_INFO[i][posaov_Boja][1], 2400);
  9. new string[20];
  10. format(string,sizeof(string),""ORANGE"[ %s ]", POSAO_INFO[POSAOV_INFO[i][posaov_PosaoID]][posao_Ime]);
  11. PosaoVLabel[i] = Create3DTextLabel(string ,0x33CCFFAA, 0.0, 0.0, 0.0, 15.0, 0, 1);
  12. Attach3DTextLabelToVehicle(PosaoVLabel[i], POSAOV_INFO[i][posaov_VehID], 0.0, 0.0, 0.0);
  13. brojposaov ++;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment