Speedhack values
Hey MPGH,
i’ve question about Speedhack values.
i want to add it like 4x
and now my code is this :
and menu looks like :
and Speed values like :
the problem is ingame it only uses x4 or Off :P
Please help me fix this :/
Thnx,
i’ve question about Speedhack values.
i want to add it like 4x
and now my code is this :
Code:
} if(speed)
{
PatchCommand(speed ,"WalkVel 105" ,"WalkVel 70",Flags[36]);
PatchCommand(speed,"FRunVel 427" ,"FRunVel 285",Flags[37]);
PatchCommand(speed,"BRunVel 427" ,"BRunVel 285",Flags[38]);
PatchCommand(speed,"SRunVel 427" ,"SRunVel 285",Flags[39]);
PatchCommand(speed,"DuckVel 75" ,"DuckVel 50",Flags[40]);
}
if(speed ==1)
{
PatchCommand(speed ,"WalkVel 140" ,"WalkVel 70",Flags[41]);
PatchCommand(speed,"FRunVel 570" ,"FRunVel 285",Flags[42]);
PatchCommand(speed,"BRunVel 570" ,"BRunVel 285",Flags[43]);
PatchCommand(speed,"SRunVel 570" ,"SRunVel 285",Flags[44]);
PatchCommand(speed,"DuckVel 100" ,"DuckVel 50",Flags[45]);
}
if(speed ==2)
{
PatchCommand(speed ,"WalkVel 210" ,"WalkVel 70",Flags[46]);
PatchCommand(speed,"FRunVel 855" ,"FRunVel 285",Flags[47]);
PatchCommand(speed,"BRunVel 855" ,"BRunVel 285",Flags[48]);
PatchCommand(speed,"SRunVel 855" ,"SRunVel 285",Flags[49]);
PatchCommand(speed,"DuckVel 150" ,"DuckVel 50",Flags[50]);
}
if (speed ==3)
{
PatchCommand(speed ,"WalkVel 280" ,"WalkVel 70",Flags[51]);
PatchCommand(speed,"FRunVel 1140" ,"FRunVel 285",Flags[51]);
PatchCommand(speed,"BRunVel 1140" ,"BRunVel 285",Flags[52]);
PatchCommand(speed,"SRunVel 1140" ,"SRunVel 285",Flags[53]);
PatchCommand(speed,"DuckVel 200" ,"DuckVel 50",Flags[54]);
}
Code:
Additem(" Speed Hack",4,speed,0,Speed,pDevice);
Code:
char *Speed[5] = {"Off", "x1.5", "x2","x3", "x4"};
Please help me fix this :/
Thnx,



