Bag Inventory question
#1

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:

Код:
IsItemInBag
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!");

Reply
#2

pawn Код:
new string[126];
format(string,sizeof(string),"SERVER : You have %d things left", IsInItemBag[playerid]);
SendClientMessage(playerid, Red, string);
You get the idea....
Reply
#3

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..
Reply
#4

Bump
Reply
#5

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)