[HELP] enum business bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] enum business bug (
/showthread.php?tid=81915)
[HELP] enum business bug -
cAMo - 14.06.2009
Код:
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?
Re: [HELP] enum business bug -
miokie - 14.06.2009
Maybe you have reached the pickup limit?
Re: [HELP] enum business bug -
cAMo - 14.06.2009
I use streamed checkpoints, so that doesn't have any effect.
Re: [HELP] enum business bug -
KeyWay - 14.06.2009
Quote:
|
Originally Posted by cAMo
I use streamed checkpoints, so that doesn't have any effect.
|
PICKUPS not checkpoints.
Re: [HELP] enum business bug -
cAMo - 14.06.2009
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?
Re: [HELP] enum business bug -
cAMo - 15.06.2009
Can you only read 100 lines of a textfile?