Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(new i = 1; i < MAX_POSAOV; i++)
- {
- new pvFile[50];
- format(pvFile, sizeof(pvFile), POSLOVIV_FILE, i);
- if(fexist(pvFile))
- {
- INI_ParseFile(pvFile, "UcitajPosaoV", .bExtra = true, .extra = i);
- 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);
- new string[20];
- format(string,sizeof(string),""ORANGE"[ %s ]", POSAO_INFO[POSAOV_INFO[i][posaov_PosaoID]][posao_Ime]);
- PosaoVLabel[i] = Create3DTextLabel(string ,0x33CCFFAA, 0.0, 0.0, 0.0, 15.0, 0, 1);
- Attach3DTextLabelToVehicle(PosaoVLabel[i], POSAOV_INFO[i][posaov_VehID], 0.0, 0.0, 0.0);
- brojposaov ++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment