Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto cfilter = CHudChat::ChatFilters::CHAT_FILTER_NONE;
- if (Tabs.Config == 0 && zgui::button("load", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config loaded"" ");
- g_Config->Load();
- }
- else if (Tabs.Config == 1 && zgui::button("load", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config loaded"" ");
- g_Config->Load2();
- }
- else if (Tabs.Config == 2 && zgui::button("load", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config loaded"" ");
- g_Config->Load3();
- }
- else if (Tabs.Config == 3 && zgui::button("load", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config loaded"" ");
- g_Config->Load4();
- }
- if (Tabs.Config == 0 && zgui::button(" save", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config saved"" ");
- g_Config->Save();
- }
- else if (Tabs.Config == 1 && zgui::button(" save", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config saved"" ");
- g_Config->Save2();
- }
- else if (Tabs.Config == 2 && zgui::button(" save", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config saved"" ");
- g_Config->Save3();
- }
- else if (Tabs.Config == 3 && zgui::button(" save", { 50,20 })) {
- if (g_pEngine->IsInGame() && g_pEngine->IsConnected()) g_ChatElement->ChatPrintf(0, cfilter, " \x02[deathrow] \x01""config saved"" ");
- g_Config->Save4();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement