PHP Code:
if(fastrepair == 1)
{
*(float*)ADR_FASTREPAIR = 13;
}
if(fastflag == 1)
{
*(float*)ADR_FASTFLAG = 13;
}
if(fasthealth == 1)
{
*(float*)ADR_FASTMEDIC = 13;
}
if(fastammo == 1)
{
*(float*)ADR_FASTAMMO = 13;
}
Für geteiltes Fast 1
Methode 2:
if(dwPlayerPtr != 0)
{
if(Ammo)*(float*)ADR_FASTAMMO = 13;
if(Health)*(float*)ADR_FASTHEALTH = 13;
if(Repair)*(float*)ADR_FASTREPAIR = 13;
if(Flag)*(float*)ADR_FASTFLAG = 13;
}
Workt beides bei: UO,BG,AI (CQC Gibts ja keins.)
Wie im Hack Posi X,Y,Z anzeigen? So:
Base.cpp (Oder wie auch immer bei euch..)
PHP Code:
//// Defines (Unter Includes) ////
float fX_1;
float fY_1;
float fZ_1;
char cX_1[32];
char cY_1[32];
char cZ_1[32];
///////////////////////////////////
Funk Ansich:
DWORD Player = *(DWORD*)ADR_PLAYERPOINTER;
fX_1 = *(float*)(Player+X Addy);
fY_1 = *(float*)(Player+Y Addy);
fZ_1 = *(float*)(Player+Z Addy);
Sprintf:
sprintf(cX_1,"Position X: %f",fX_1);
sprintf(cY_1,"Position Y: %f",fY_1);
sprintf(cZ_1,"Position Z: %f",fZ_1);
Position:
Base->AddText(210,298,Color,cX_1);
Base->AddText(210,310,Color,cY_1);
Base->AddText(210,322,Color,cZ_1);
Credits:
Yazzn - Grund
Crasy - Umgeschrieben Bisschen
Mfg Crasy.