16.06.2013, 18:10
Hey everyone, I have a little problem.
Under OnGameModeInit I have 4 Loops, that should create Pickups on my server. Unfortunately they do not start - just the first one. Even if I change the order of the loops - just the first one starts.
I hope someone can help me
Under OnGameModeInit I have 4 Loops, that should create Pickups on my server. Unfortunately they do not start - just the first one. Even if I change the order of the loops - just the first one starts.
Код:
for(new b = 1; b <= MAX_NITRO_PICKUPS; b++) { SetNitroRandomPosInArea(b,362.0141, -1891.816, 2826.046, 303.6248); } for(new a = 1; a <= MAX_REIFEN_PICKUPS; a++) { SetReifenRandomPosInArea(a,362.0141, -1891.816, 2826.046, 303.6248); } for(new i = 1; i <= MAX_PANZERUNG_PICKUPS; i++) { SetPanzerungRandomPosInArea(i,362.0141, -1891.816, 2826.046, 303.6248); } for(new c = 1; c <= MAX_BAUTEIL_PICKUPS; c++) { SetBauteilRandomPosInArea(c,362.0141, -1891.816, 2826.046, 303.6248); }