Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward DodajNeaktivnostFirmi(f);
- public DodajNeaktivnostFirmi(f)
- {
- for(new fID = 0; fID < sizeof(FirmaInfo); fID++)
- {
- if(FirmaInfo[fID][fImaVlasnika] == 1)
- {
- FirmaInfo[fID][fNeaktivnost] ++;
- Firme_Neaktivnost(fID);
- SacuvajFirmu(fID);
- }
- if(FirmaInfo[fID][fNeaktivnost] > 1)
- {
- FirmaInfo[fID][fImaVlasnika] = 0;
- FirmaInfo[fID][fKasa] = 0;
- FirmaInfo[fID][fZatvoreno] = 1;
- FirmaInfo[fID][fNeaktivnost] = 0;
- strmid(FirmaInfo[fID][fVlasnik], "Niko", 0, strlen("Niko"), 255);
- FirmaLabelIPickup(fID);
- SacuvajFirmu(fID);
- new stringer[256];
- format(stringer, -1, ""CRVENA"[ Zavod za urbanizaciju ] Trenutno je na raspolaganju nova firma na adresi %s %d, po ceni od %d$!", fID, UlicaFirme(fID), FirmaInfo[fID][fCena]);
- SCMTA(-1, stringer);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment