You should somehow make it not despawn when dropped. It always gets annoying when I kill someone far away, then have to get,the money in 10 seconds.
Type this in your console
$Game::Item::PopTime = 999999;
Maybe make events for it? Like OnCashBag hit or OnCashBagDrop? Maybe OnCashBagTouch?
That would be good for a cops & robbers server.
You can use VCE for this and another events called "ifItemInHand or ifItemInSlot"
Downloads
Here and
HereThe events are basic:
onPlayerTouch > self > ifItemInHandSlot > <item>
onVariableTrue > client > bottom print > You returned the cash!
onVariableTrue > player > removeItem > cashBag
onVariableTrue > player > incScore > 2
onVariableTrue > player > setPlayertype > <playertype default> (removes from backslot)
You will also need the removeItem event for this found
HereI will see about adding these events, its what I wanted to do in the first place I just haven't got around to it yet :p