[COLOR=#3E3E3E]- Speed Offsets ----------------[/COLOR]
[COLOR=#3E3E3E]- Speed Offset: 0x000173B60 -[/COLOR]
[COLOR=#3E3E3E]- Normal Speed: 38 A0 00 BE -[/COLOR]
[COLOR=#3E3E3E]- Super Speed: 38 A0 07 D0 -
[/COLOR]
[COLOR=#3E3E3E]- Speed Offsets ----------------[/COLOR]
[COLOR=#3E3E3E]- Speed Offset: 0x000173B60 -[/COLOR]
[COLOR=#3E3E3E]- Normal Speed: 38 A0 00 BE -[/COLOR]
[COLOR=#3E3E3E]- Super Speed: 38 A0 07 D0 -
[/COLOR]
[COLOR=#3E3E3E]- Speed Offsets ----------------[/COLOR]
[COLOR=#3E3E3E]- Speed Offset: 0x000173B60 -[/COLOR]
[COLOR=#3E3E3E]- Normal Speed: 38 A0 00 BE -[/COLOR]
[COLOR=#3E3E3E]- Super Speed: 38 A0 07 D0 -
[/COLOR]
opd_s SV = { 0x228FA8, 0x0072DCE8 };
void(*SendServerCommand)(int client, int type, char* cmd) = (void(*)(int, int, char*))&SV;
opd_s Com_sprintf_t = { 0x00298874, 0x0072DCE8 };
int(*Com_sprintf)(char *dest, int size, const char *fmt, ...) = (int(*)(char* , int, char const *, ...))&Com_sprintf_t;
void SV_SendServerCommand(int client, char* command)
{
SendServerCommand(client, 0, command);
}
void SetDvar(int client, char* Dvar)
{
char buf[100];
Com_sprintf(buf, 100, "q \"%s%s", Dvar, "\"");
SendServerCommand(client, buf);
}
SetDvar(client,"cg_deadChatWithDead 1");
void SetModel(int client, const char* Model)
{
opd_s setmodel = {0x1BEF5C, 0x0072DCE8};
void(*G_SetModel)(int client, const char* model) = (void(*)(int, const char*))&setmodel;
G_SetModel((0xFCA280 + (client * 0x280)), Model);
}
SetModel(client, "com_barrel_benzin");
bool Speed[18];
void Speed(int client)
{
if (!Speed[client])
{
*(char*)(0x000173B60 + (0x3980 * client)) = 0x38, 0xA0, 0x07, 0xD0; //Super Speed On.
Speed[client] = true;
}
else
{
*(char*)(0x000173B60 + (0x3980* client)) = 0x38, 0xA0, 0x00, 0xBE; //Super Speed Off.
Speed[client] = false;
}
}
Speed(client);
opd_s SV = { 0x228FA8, 0x0072DCE8 };
void(*SendServerCommand)(int client, int type, char* cmd) = (void(*)(int, int, char*))&SV;
opd_s Com_sprintf_t = { 0x00298874, 0x0072DCE8 };
int(*Com_sprintf)(char *dest, int size, const char *fmt, ...) = (int(*)(char* , int, char const *, ...))&Com_sprintf_t;
void SV_SendServerCommand(int client, char* command)
{
SendServerCommand(client, 0, command);
}
void SetDvar(int client, char* Dvar)
{
char buf[100];
Com_sprintf(buf, 100, "q \"%s%s", Dvar, "\"");
SendServerCommand(client, buf);
}
SetDvar(client,"cg_deadChatWithDead 1");
void SetModel(int client, const char* Model)
{
opd_s setmodel = {0x1BEF5C, 0x0072DCE8};
void(*G_SetModel)(int client, const char* model) = (void(*)(int, const char*))&setmodel;
G_SetModel((0xFCA280 + (client * 0x280)), Model);
}
SetModel(client, "com_barrel_benzin");
bool Speed[18];
void Speed(int client)
{
if (!Speed[client])
{
*(char*)(0x000173B60 + (0x3980 * client)) = 0x38, 0xA0, 0x07, 0xD0; //Super Speed On.
Speed[client] = true;
}
else
{
*(char*)(0x000173B60 + (0x3980* client)) = 0x38, 0xA0, 0x00, 0xBE; //Super Speed Off.
Speed[client] = false;
}
}
Speed(client);
Copyright © 2024, NextGenUpdate.
All Rights Reserved.