SA-MP Forums Archive
Weird problem - 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: Weird problem (/showthread.php?tid=78768)



Weird problem - FreeSoul - 23.05.2009

Ok,I tried to add a house.Everything is fine untill I change
Quote:

pickups=pickups+29;

to
Quote:

pickups=pickups+30;

and

Quote:

new HouseInfo[34][hInfo];

to
Quote:

new HouseInfo[35][hInfo];

The GM doesn't work anymore.Random things spawn,the cars are all destroyd,CMDs not working.Like the whole GM crashes.
Didn't expect that to be honest.
Any help?

Thanks in advance


Re: Weird problem - Ignas1337 - 23.05.2009

what gm is it?


Re: Weird problem - FreeSoul - 23.05.2009

It's the GF house system but I use it for my own GM


Re: Weird problem - Ignas1337 - 23.05.2009

you probably messed something up while copying, I don't know. Let me see...
did you add the extra line in the house saves file? and did you leave another line empty? why did you d pickups +30? Maybe you missed some closing brace... Please help me help you help them help you


Re: Weird problem - FreeSoul - 23.05.2009

I have a tutorial for it.Told me to add the lines, saved the property .cfg.Then told me too put insttead of pickup 29 pickup 30 otherwise it won't work.


Re: Weird problem - yezizhu - 23.05.2009

pawn Код:
OnPlayerConnect(playerid){
new tmp[10];
for( new i;i<15;i++){
 tmp[i] = i;
}
return true;
}
I think ur error is similar with this case.
Try to look up ur code