Исходник Mask Changer

Пользователь
Пользователь
Статус
Оффлайн
Регистрация
18 Май 2020
Сообщения
188
Реакции
71
Hello YouGame!

:wink: Today i'm releasing this simple feature :wink:
Firstly lets apply an battlemask to local player

Код:
Expand Collapse Copy
//CCSPlayer->m_iAddonBits
pLocal->AddonBits() |= 0x10000 | 0x00800; //ADDON_CLIENTSIDE_BATTLEMASK | ADDON_MASK
AddonBits it's a netvar ?

If u don't change the mask model, this mask will be applied
Пожалуйста, авторизуйтесь для просмотра ссылки.


Sooooo, let's change the model using FindMDL Hook

Код:
Expand Collapse Copy
MDLHandle_t FASTCALL H::hkFindMDL(void* ecx, void* edx, char* FilePath)
{
    static auto original_fn = DTR::FindMDL.GetOriginal<MDLHandle_t(__thiscall*)(void*, char*)>();
    if (strstr(FilePath, XorStr("facemask_battlemask.mdl")))  
        sprintf(FilePath, XorStr("models/player/holiday/facemasks/facemask_dallas.mdl"));

    return original_fn(ecx, FilePath);
}

Or, use GetHalloweenMaskModelAddon hook

C++:
Expand Collapse Copy
char * FASTCALL H::GetHalloweenMaskModelAddon(void *ecx, void *edx)
{
    return /*mask model path here*/;
}

:sunglasses: AND THE FINAL RESULT! :sunglasses:
Пожалуйста, авторизуйтесь для просмотра ссылки.
 
Последнее редактирование:
Bad way dude, you dont need hook anything.
 
вместо хуков просто юзай set_model_index и precache_model
 
I have an guestion....Is mask an entity or?Cuz if it is we can use setmodel to change it
 
Последнее редактирование:
looks really sexy
 
so good no bad
 
cool, a rio tiete coder. good job!
 
вместо хуков просто юзай set_model_index и precache_model
1651668972484.png
 
Hello YouGame!

:wink: Today i'm releasing this simple feature :wink:
Firstly lets apply an battlemask to local player

Код:
Expand Collapse Copy
//CCSPlayer->m_iAddonBits
pLocal->AddonBits() |= 0x10000 | 0x00800; //ADDON_MASK | ADDON_CLIENTSIDE_BATTLEMASK
AddonBits it's a netvar ?

If u don't change the mask model, this mask will be applied
Пожалуйста, авторизуйтесь для просмотра ссылки.


Sooooo, let's change the model using FindMDL Hook

Код:
Expand Collapse Copy
MDLHandle_t FASTCALL H::hkFindMDL(void* ecx, void* edx, char* FilePath)
{
    static auto original_fn = DTR::FindMDL.GetOriginal<MDLHandle_t(__thiscall*)(void*, char*)>();
    if (strstr(FilePath, XorStr("facemask_battlemask.mdl")))  
        sprintf(FilePath, XorStr("models/player/holiday/facemasks/facemask_dallas.mdl"));

    return original_fn(ecx, FilePath);
}

:sunglasses: AND THE FINAL RESULT! :sunglasses:
Пожалуйста, авторизуйтесь для просмотра ссылки.
the best part is, this is already publicly known and anyone with 2 braincells can put this together AND make it better... useless release..
 
Ghetto Method:fearful:
 
Код:
Expand Collapse Copy
//CCSPlayer->m_iAddonBits
pLocal->AddonBits() |= 0x10000 | 0x00800; //ADDON_MASK | ADDON_CLIENTSIDE_BATTLEMASK
Where should i paste this
 
bro... it was posted on this forum like 10 months ago, all you did was show how to use a netvar. GOOD JOB BRO!!!

worse than ghetto xD
"it was posted on this forum like 10 months ago" send me link lol.
"all you did was show how to use a netvar" yes dude, what u expected? i will create a method to render a fking mask to my model with 100 lines? stop trashtalking like a retard, every post on this forum u'r in it, a r u looking for attention? what is ur problem?
 
"it was posted on this forum like 10 months ago" send me link lol.
"all you did was show how to use a netvar" yes dude, what u expected? i will create a method to render a fking mask to my model with 100 lines? stop trashtalking like a retard, every post on this forum u'r in it, a r u looking for attention? what is ur problem?
there is no problem, except for you thinking this is something special. CSGO cheating is so dead that kids are releasing blatently pasted code calling it theirs, releasing public knowledge like they are the ones who found it, in your UC threads you even linked the original poster... please, grow some fucking braincells, stop pasting, learn to code.
 
Назад
Сверху Снизу