SA-MP Forums Archive
Error in Looping (Global) I really need help - 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: Error in Looping (Global) I really need help (/showthread.php?tid=486572)



Error in Looping (Global) I really need help - ToiletDuck - 09.01.2014

i think im the only one can fix this ./. xD


Re: Error in Looping (Global) I really need help - MasterReturnz - 09.01.2014

Wait.. Are you trying to get furniture to go to your house or every house?


Re: Error in Looping (Global) I really need help - ToiletDuck - 09.01.2014

Quote:
Originally Posted by MasterReturnz
Посмотреть сообщение
Wait.. Are you trying to get furniture to go to your house or every house?
Every House Dude,

MAX_FURNITURESOBJ 10000- its define all Furnitures can be created and i made it 10000

MAX_FURNITURES_SMALL 50- this is for Small Houses

MAX_FURNITURES_MEDIUM 100- this is for Medium Houses

MAX_FURNITURES_LARGE 150- this is for Large Houses

But when i bought furnitures at House 1 and i tried to /editfurnitures or /sellfurnitures it shows all the global Furnitures


Re: Error in Looping (Global) I really need help - ToiletDuck - 10.01.2014

Bump, i really neeeeeeeeed HELPPPPPPPPP!


Re: Error in Looping (Global) I really need help - ToiletDuck - 10.01.2014

Heey Guys D: i really need help about this


Re: Error in Looping (Global) I really need help - BlackBank - 10.01.2014

Maybe it's a good idea to print/debug your variables...

Especially this one:
pawn Код:
new hID = PlayerInfo[playerid][pHouse];



Re: Error in Looping (Global) I really need help - ToiletDuck - 11.01.2014

Quote:
Originally Posted by BlackBank3
Посмотреть сообщение
Maybe it's a good idea to print/debug your variables...

Especially this one:
pawn Код:
new hID = PlayerInfo[playerid][pHouse];
Hmm thanks for the idea, maybe i should start my habit to debug my scripts.

well i have no choice, i revise my Furniture and Housing System im doing experiement ithink im the only one who can fix this bug. Thanks :3