I need to know if they player has room for an item that they will only have the chance to get once from an event.
So far I have this but I need it to just out of the event process after doing the check and finding that there isn’t room for anymore items.
Public Sub CustomScript(index As Long, caseID As Long)
Select Case caseID
If FindOpenInvSlot(index, GetPlayerEquipment(index, EqSlot)) < 1 Then
** PlayerMsg index, “You do not have enough room in your inventory.”, BrightRed **
** End If**
PlayerMsg index, "You just activated custom script " & caseID & “. This script is not yet programmed.”, BrightRed
Thanks for any help you can provide.