SA-MP Forums Archive
[SOLVED] Pickup 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: [SOLVED] Pickup Problem (/showthread.php?tid=119110)



[SOLVED] Pickup Problem - cmg4life - 06.01.2010

http://passstebin.pastebin.com/d2c292bea

I got this strange problem, when i pick the pickup HouseInfo[ i][bpickup] it displays 0 at all values and im thinking that it doesn't check the Pickup's ID right... Any idea ?

Also it says... always "Sell" so again i'm thinkin about the proper checking.


Re: Pickup Problem - cmg4life - 07.01.2010

-bump-


Re: Pickup Problem - [HiC]TheKiller - 07.01.2010

Try debugging it, E.g. Printing what business id it is. Also, try break after it finds the pickup, that may work. I really don't think there is a problem with the pickups though, make sure you are setting the data right.


Re: Pickup Problem - cmg4life - 07.01.2010

Quote:
Originally Posted by [HiC
TheKiller ]
Try debugging it, E.g. Printing what business id it is. Also, try break after it finds the pickup, that may work. I really don't think there is a problem with the pickups though, make sure you are setting the data right.
I did get sure on the data, i'll try with the prints. Thnx