Jump to content
Sign in to follow this  
Bnae

Disable inventory

Recommended Posts

Hello,

 

Just a quick one. Is there a way to disable every inventory (gear, vehicle, object with)?

 

~Bnae

Share this post


Link to post
Share on other sites

Yes. Use EH "InventoryOpened"

 

OR

 

Start a function, which wait when player open dialog with gear dialog id and close it

 

OR

 

set on display 46 EH "OnKeyDown" and when player press Inventory button, close dialog.

Share this post


Link to post
Share on other sites

Yes. Use EH "InventoryOpened"

 

OR

 

Start a function, which wait when player open dialog with gear dialog id and close it

 

OR

 

set on display 46 EH "OnKeyDown" and when player press Inventory button, close dialog.

 

Thanks for the reply.

 

This is what i was using but i'll try those others aswell and compare what is the best way.

disableSerialization;
while { true } do
{
    if (!isNull findDisplay 602)then {closeDialog 602};
    sleep 0.01;
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×