OnPlayerUpPickup(+REP)
#3

When you spawn the pickup, assign its id to a varriable. Probably pickupid == MoneyBags[<index>][mbpickup].

To find an index (in the array) that is not used, simply loop through it, if the index is currently not used, create at the specific index.

Then loop through them to find it.
Reply


Messages In This Thread
OnPlayerPickUpPickup(+REP) - by Amit1998 - 25.07.2016, 10:04
Re: OnPlayerUpPickup(+REP) - by oMa37 - 25.07.2016, 10:25
Re: OnPlayerUpPickup(+REP) - by [WSF]ThA_Devil - 25.07.2016, 10:30
Re: OnPlayerUpPickup(+REP) - by Amit1998 - 25.07.2016, 10:31
Re: OnPlayerUpPickup(+REP) - by Amit1998 - 25.07.2016, 10:33
Re: OnPlayerUpPickup(+REP) - by ThatFag - 25.07.2016, 10:57
Re: OnPlayerUpPickup(+REP) - by Amit1998 - 25.07.2016, 11:02
Re: OnPlayerUpPickup(+REP) - by ThatFag - 25.07.2016, 11:09
Re: OnPlayerUpPickup(+REP) - by Amit1998 - 25.07.2016, 11:21
Re: OnPlayerUpPickup(+REP) - by Threshold - 25.07.2016, 11:28

Forum Jump:


Users browsing this thread: 1 Guest(s)