load data
#1

well,in the saving/loading system,i made 100 slots for each pack,and in the saving system i was saving them from slot id 1 to slot id 100 using:
pawn Код:
pawn Code:
Packs[i][PackSlot][0] = strval(arrCoords[1]); // for example
Packs[i][PackSlot][1] = strval(arrCoords[2]); // for example 2, i made this 100 times
and loading them 1 by 1,but it showed me:
pawn Код:
pawn Code:
Header size:          20324 bytes
Code size:          3518372 bytes
Data size:         14752928 bytes
Stack/heap size:      46000 bytes; estimated max. usage: unknown, due to recursion
Total requirements:18337624 bytes
and the gamemode didnt work anymore,error are on the 100 loading lines
Reply
#2

use #pragma dynamic value
for example put this at top of your script
#pragma dynamic 300
Reply
#3

what will it do?
Reply
#4

its the amount of emory u need for script
the error u are getting is because of less avaliable memorey paste this under ur include lines--
#pragma dynamic 10000
if it do not work increase the number
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)