[HELP] enum business bug
#1

Код:
enum b_Info
{
    b_Key,
	Float:b_Enterance_cord_x,
	Float:b_Enterance_cord_y,
	Float:b_Enterance_cord_z,
	Float:b_Enterance_cord_a,
	Float:b_Exit_cord_x,
	Float:b_Exit_cord_y,
	Float:b_Exit_cord_z,
	Float:b_Exit_cord_a,
	b_HasInterior,
	b_Interior,
	b_World,
	b_Owner[MAX_PLAYER_NAME],
	b_Owned,
	b_Name[128],
	b_Type,
	b_LastActive,
	b_Value,
	b_Fee,
	b_LevelReq,
	b_PremiumReq,
	b_Locked,
	b_LockedDown,
	b_Destroyed,
	b_PercentDestroyed,
	b_Cashbox,
	b_Stock,
	b_Paying,
	b_ForSale,
};
new BizInfo[100][b_Info];
Here is the problem: When new BizInfo[100][b_Info]; is set to 250 (instead of 100), and there are 250 rows in my business .txt file, the script gets bugged. At 100, the script runs fine. Is there a maximum that it limits the script at? If so, what is the maximum?
Reply
#2

Maybe you have reached the pickup limit?
Reply
#3

I use streamed checkpoints, so that doesn't have any effect.
Reply
#4

Quote:
Originally Posted by cAMo
I use streamed checkpoints, so that doesn't have any effect.
PICKUPS not checkpoints.
Reply
#5

If I am correct, by using https://sampwiki.blast.hk/wiki/CPS I am able to define an unlimited number of checkpoints since it only shows the closest one.

As for the problem, when I change the "100" to "250" -- my timers don't work, and other parts of my script fail. Why?
Reply
#6

Can you only read 100 lines of a textfile?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)