[C++] Check if safebox is open

  • Example how to use function?


    [File: root/game.py]


    Perl
    1. if app.ENABLE_CHECK_IF_SAFEBOX_OPEN:
    2. onPressKeyDict[app.DIK_F5] =lambda:self.BINARY_Check_Safebox()
    3. if app.ENABLE_CHECK_IF_SAFEBOX_OPEN:
    4. def BINARY_Check_Safebox(self):
    5. import safebox
    6. if safebox.isOpen():
    7. chat.AppendChat(chat.CHAT_TYPE_INFO,"<<Debug>> Safebox is open!")
    8. else:
    9. chat.AppendChat(chat.CHAT_TYPE_INFO,"<<Debug>> Safebox is not open!")

    Download:

    • Bitte melden Sie sich an, um diesen Link zu sehen.

    .