Bag Inventory question - 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: Bag Inventory question (
/showthread.php?tid=150675)
Bag Inventory question -
coole210 - 27.05.2010
I need help with this bag inventory ..
http://forum.sa-mp.com/index.php?topic=119561.0
Here's the working script:
http://forum.sa-mp.com/index.php?top...8299#msg748299
I need this function made and i don't have any clue how to make it:
I need it to check if there's a specific item in the bag and how many items are in it
Ex:
Код:
if(IsItemInBag(playerid,item) != 3) return SendClientMessage(playerid,color-red,"[ ! ] You do not have 3 items!");
Re: Bag Inventory question -
ViruZZzZ_ChiLLL - 27.05.2010
pawn Код:
new string[126];
format(string,sizeof(string),"SERVER : You have %d things left", IsInItemBag[playerid]);
SendClientMessage(playerid, Red, string);
You get the idea....
Re: Bag Inventory question -
coole210 - 27.05.2010
No i want to make the function to check which slots the 3 items are in and check if he has the 3 items in his bag (players bag has 5 slots)
I already know how to check how many items are in his bag..
Re: Bag Inventory question -
coole210 - 28.05.2010
Bump
Re: Bag Inventory question -
coole210 - 30.05.2010
Bump