RNPC Problem - Crash
#5

pawn Код:
RNPC_CreateBuild(npc[0], 0);
    RNPC_CreateBuild(npc[1], 0);
    RNPC_CreateBuild(npc[2], 0);
    RNPC_CreateBuild(npc[3], 0);
    RNPC_CreateBuild(npc[4], 0);
Create builds one by one, not all at once. Build mode opens a file that is closed on FinishBuild. Doing it like this it will open several files with the same scope and that causes the crash.
So it should be
pawn Код:
CreateBuild(npc[0], 0);
code for npc[0];
FinishBuild();
CreateBuild(npc[1], 0);
...
Reply


Messages In This Thread
RNPC Problem - Crash - by Infinity90 - 15.02.2013, 12:06
Re: RNPC Problem - Crash - by Babul - 15.02.2013, 12:52
Re: RNPC Problem - Crash - by Infinity90 - 15.02.2013, 13:37
Re: RNPC Problem - Crash - by Infinity90 - 15.02.2013, 15:21
Re: RNPC Problem - Crash - by Mauzen - 15.02.2013, 15:24
Re: RNPC Problem - Crash - by Infinity90 - 15.02.2013, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)