Help with inventory system - 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: Help with inventory system (
/showthread.php?tid=97160)
Help with inventory system -
coole210 - 13.09.2009
....
Re: Help with inventory system -
RaFsTar - 13.09.2009
Quote:
Originally Posted by [TPG
Coole210 ]
I am using heavily modified script of this:
http://player007.pastebin.com/m7579bb93
How do i add a function like GetItemInSlot(playerid,slotid) ? like if a ecard is in slot 1 it says it, i need this for a /sellitem command.
|
Look at that lines and be smart
Re: Help with inventory system -
RaFsTar - 13.09.2009
stock GetItemInSlot(playerid,slot)
{
return Bags[playerid][slot];
}
Re: Help with inventory system -
coole210 - 13.09.2009
....
Re: Help with inventory system -
RaFsTar - 13.09.2009
Quote:
Originally Posted by [TPG
Coole210 ]
Rofl i just told you that on msn, it might work
|
HAHAHAHA ! Idiot
Who said you before ? me
Re: Help with inventory system -
coole210 - 17.09.2009
....
Re: Help with inventory system -
coole210 - 23.09.2009
....