SA-MP Forums Archive
Help me about cant Load 500 Houses! +rep1 - 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)
+--- Thread: Help me about cant Load 500 Houses! +rep1 (/showthread.php?tid=516522)



Help me about cant Load 500 Houses! +rep1 - VenomMancer - 31.05.2014

Hello guys
Help me.

My problem is, i cant load the houses when total houses total is 500++
Look this:
pawn Код:
#define MAX_HOUSES 5000
But why cant load when total houses = 500 ?

Help me guys.
Here the full my House System Script : PASTEBIN

Thanks guys for your help


Re: Help me about cant Load 500 Houses! +rep1 - NaClchemistryK - 31.05.2014

I didn't understand your question properly
If I understood you correctly by coincidence, your question was that you can't make more than 500 houses. If that's the case, define MAX_HOUSES as more than 500. So:
pawn Код:
#define MAX_HOUSES 600



Re: Help me about cant Load 500 Houses! +rep1 - VenomMancer - 31.05.2014

Quote:
Originally Posted by NaClchemistryK
Посмотреть сообщение
I didn't understand your question properly
If I understood you correctly by coincidence, your question was that you can't make more than 500 houses. If that's the case, define MAX_HOUSES as more than 500. So:
pawn Код:
#define MAX_HOUSES 600
Sorry about my bad english -_-

Yes i did :
pawn Код:
#define MAX_HOUSES 600
But why cant load more than 500 houses ?
Can you look my script


Re: Help me about cant Load 500 Houses! +rep1 - Need4samp - 31.05.2014

Quote:
Originally Posted by VenomMancer
Посмотреть сообщение
But why cant load more than 500 houses ?
Do u have create + 500 houses ?
if "Yes" search in ur script ( i think there other define for the max_house )
if "no" i can say to u ( You can load more than 500 houses)


Re: Help me about cant Load 500 Houses! +rep1 - VenomMancer - 31.05.2014

[quote]Do u have create + 500 houses ? [/[QUOTE]]
Sure sir
Quote:

if "Yes" search in ur script ( i think there other define for the max_house )

I did it. But nothing. Any ideas ?
Btw here my script : PASTEBIN


Re: Help me about cant Load 500 Houses! +rep1 - Eth - 31.05.2014

in the stock loadhouses,
there is something called file[556] replace it with something bigger like file[600]


Re: Help me about cant Load 500 Houses! +rep1 - VenomMancer - 31.05.2014

Quote:
Originally Posted by Eth
Посмотреть сообщение
in the stock loadhouses,
there is something called file[556] replace it with something bigger like file[600]
Sorry Didn't Helped .
Anny ?


Re: Help me about cant Load 500 Houses! +rep1 - Need4samp - 31.05.2014

Quote:
Originally Posted by VenomMancer
Посмотреть сообщение
Btw here my script : PASTEBIN
search in the gamemode if u have other MAX_house in ?


Re: Help me about cant Load 500 Houses! +rep1 - VenomMancer - 31.05.2014

Okay bro

I Got on SA-MP Forum.
And i MIX it with my house system from my mine

#Sorry about my bad english.


Re: Help me about cant Load 500 Houses! +rep1 - VenomMancer - 02.06.2014

FIXED !
I make little Mistake with this:
pawn Код:
new HousePickup[MAX_HOUSES];
new HouseMapicon[MAX_PLAYERS];
Now FIXED like this!
pawn Код:
new HousePickup[MAX_HOUSES];
new HouseMapicon[MAX_HOUSES];
Thnaks guys for all your helped