dont reset cash to 16000 when buying an item

This commit is contained in:
hubdom 2020-08-03 14:00:28 +02:00
parent 2d8d962400
commit 0d548fb60f

View File

@ -166,6 +166,14 @@ static struct SrcdsPatch
"xxxxxx", "xxxxxx",
(unsigned char *)"\x90\x90\x90\x90\x90\x90", (unsigned char *)"\x90\x90\x90\x90\x90\x90",
0, 0, 0, true 0, 0, 0, true
},
// 9: dont reset cash to 16000 when buying an item
{
"_ZN9CCSPlayer10AddAccountEibbPKc",
(unsigned char *)"\x3D\x80\x3E\x00\x00\x0F\x8F\xE8\x00\x00\x00",
"xxxxxxxxxxx",
(unsigned char *)"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90",
0, 0, 0, false
} }
}; };