SA-MP Forums Archive
Problem with adding property's - 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: Problem with adding property's (/showthread.php?tid=131192)



Problem with adding property's - sass839 - 02.03.2010

Hi, gotta problem with adding property. I would like to add new property, but before that i did already add one, so when i add new property than the old one disappers. It's quite hard to explain, but i think that you know what i mean. Ohh and i add all new property into property.cfg . Or maybe someone knows way to increase limit of the property or something like that? I mean like with OwnableCars, that you had to increase the limit.

Thanks!




Re: Problem with adding property's - sass839 - 02.03.2010

Please !! Someone?!


Re: Problem with adding property's - MaykoX - 02.03.2010

pawn Код:
#define MAX_PROPERTIES (1000)
You can find this in gl_properties.pwn the 1000 is max properties. Just make it bigger.


Re: Problem with adding property's - sass839 - 02.03.2010

Thanks for your reply, but still the same.


Re: Problem with adding property's - sass839 - 02.03.2010

It's usual LARP (Los Angeles Roleplay) script.


Re: Problem with adding property's - sass839 - 02.03.2010

I tried, no one reply's in there. :S


Re: Problem with adding property's - Souvlaki - 02.03.2010

Find the line
pawn Код:
new HouseInfo[x][hInfo];
and replace the x with the ammount of houses you are using


Re: Problem with adding property's - Brian_Furios - 02.03.2010

go to propery.cfg and add your houses.

for exemple in property.cfg you have 40 houses you need to go to larp.pwn at line
Код:
new HouseInfo[35][hInfo];
and modify "35" in "40"

srry for bad english


Re: Problem with adding property's - sass839 - 02.03.2010

Thanks for your help!


Re: Problem with adding property's - Brian_Furios - 02.03.2010

Quote:
Originally Posted by Gucci's Label
Thanks for your help!
np..
it work, really?