Show dead player loot
#10

Quote:
Originally Posted by FailerZ
Посмотреть сообщение
Make a Boolean variable (Add it to your existing enum) to determine if that inventory slot is in use. Make it in use (true) when the player receive an item..
When the player drop the item..Make the slot (false)
Then here when you are looping though them add another check of it to check if the variable in use (true).
That's it
Or simply set the ID of the item to -1 (or if you do not use zero [0] then set it to zero [0]).
Reply


Messages In This Thread
Show dead player loot - by BHTMestre - 17.07.2017, 17:12
Re: Show dead player loot - by Paulice - 17.07.2017, 17:19
Re: Show dead player loot - by BHTMestre - 17.07.2017, 17:29
Re: Show dead player loot - by Paulice - 17.07.2017, 17:45
Re: Show dead player loot - by BHTMestre - 17.07.2017, 17:46
Re: Show dead player loot - by Paulice - 17.07.2017, 17:47
Re: Show dead player loot - by BHTMestre - 17.07.2017, 18:38
Re: Show dead player loot - by BHTMestre - 17.07.2017, 20:06
Re: Show dead player loot - by FailerZ - 17.07.2017, 20:27
Re: Show dead player loot - by Paulice - 17.07.2017, 20:31

Forum Jump:


Users browsing this thread: 1 Guest(s)