Подписывайтесь на наш Telegram и не пропускайте важные новости! Перейти

Гайд Neverlose cloud fix without server

у мя либок для луа нет, вставляю просто в файл и там эта ошибка
Конфиги экспортированные с помощью луа нельзя лоадить. Только те, что были созданы читом.Скачай либы емае, в старой теме на 15-17 странице есть ссылки.
 
C++:
Expand Collapse Copy
typedef int( __cdecl* tRenderTabButton )( char*, char*, float, vec2_t*, bool, int, void* );
inline void* oRenderTabButton = nullptr;
int __cdecl hkRenderTabButton( char* icon, char* tab, float height, vec2_t* size, bool is_selected, int flags, void* out_hovered )
{
    if ( strcmp( tab, "Legitbot" ) == 0 )
        return 0;

    return reinterpret_cast< tRenderTabButton >( oRenderTabButton )( icon, tab, height, size, is_selected, flags, out_hovered );
}
HookFn( ( PVOID )0x41C9ADF0, hkRenderTabButton, 0, &oRenderTabButton );
а как в луа добавить? то что spring кидал ну типо как его кидать нупом, ( 0x41C9ADF0, че тут ставить )
 
C++:
Expand Collapse Copy
typedef int( __cdecl* tRenderTabButton )( char*, char*, float, vec2_t*, bool, int, void* );
inline void* oRenderTabButton = nullptr;
int __cdecl hkRenderTabButton( char* icon, char* tab, float height, vec2_t* size, bool is_selected, int flags, void* out_hovered )
{
    if ( strcmp( tab, "Legitbot" ) == 0 )
        return 0;

    return reinterpret_cast< tRenderTabButton >( oRenderTabButton )( icon, tab, height, size, is_selected, flags, out_hovered );
}
HookFn( ( PVOID )0x41C9ADF0, hkRenderTabButton, 0, &oRenderTabButton );
как использовать для nop в луа то? в плане че ставить то? типо nop( 0x41C9ADF0, че тут ставить?)
 
Назад
Сверху Снизу