SA-MP Forums Archive
Moneybag problems - 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: Moneybag problems (/showthread.php?tid=644301)



Moneybag problems - LazzyBoy - 05.11.2017

Fixed it


Re: Moneybag problems - pollo97 - 05.11.2017

Can i see the code for dropping the bag?


Re: Moneybag problems - TaiRinsuru - 06.11.2017

On this code:
pawn Код:
new BagInfo[MAX_BAGS][eBagInfo];
You have MAX_BAGS, and on your command you have [playerid]. You must change it to (like
pawn Код:
BagInfo[PlayerInfo[playerid][pBag]][BagX] = x;
And do the other things, compile it and if it has no errors send the new command so we can fix it for you.


Re: Moneybag problems - LazzyBoy - 06.11.2017

I found another way of doing it and seems like its working so thanks for your time fellas.


Re: Moneybag problems - Xeon™ - 06.11.2017

Could you share the fix with us?


Re: Moneybag problems - Deadpoop - 06.11.2017

Why did you remove?
it could help someone