Quote:
Originally Posted by *DreamLegend*
Selfkill...
Quote:
if (PlayerC.CH_Selfkill1)
{
*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 1500;
}
if (PlayerC.CH_Selfkill2)
{
*(float*)(ADR_POINTER_PLAYER+OFS_NOFALLDAMAGE) = -2000000;
}
|
Quote:
if (PlayerC.CH_SkyWalk)
;{
switch(PlayerC.CH_SkyWalk)
{
case 1:*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 500;break;
case 2:*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 1000;break;
case 3:*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 1500;break;
case 4:*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 2000;break;
case 5:*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 2500;break;
case 6:*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 3000;break;
case 7:*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 10000;break;
}
}
|
kp obs geht... hab extrem langeweile :D Credits to me.
|
lol ?
dein Self kill = Fail ? o.O
Code:
*(float*)(ADR_POINTER_PLAYER+OFS_Z) = 1500;
geiles self kill .. das ist wenn schon die einfachste source für zB. Super Jump .
Code:
if (PlayerC.CH_Selfkill2)
{
*(float*)(ADR_POINTER_PLAYER+OFS_NOFALLDAMAGE) = -2000000;
}
So nun hast du erfolgreich noch no fall damage gemacht .. (facepalm)
das ist kein Selfkill .. das ist halt no fall damage xD
SelfKill ?
wenn schon dann mach es so :
Code:
if (SelfFAIL == 1)
{
*(float*)(ADR_POINTER_PLAYER+OFS_NOFALLDAMAGE) = 2000000;
*(float*)(ADR_POINTER_PLAYER+OFS_Z) = -999;
}
und das ist dann nichtmal ne super source .
kommen wir zu der source 2 .
wozu bitte das .. : ?
das ";" ist an der stelle unnötig .
naja wenigstens ist das ganze schon in cases und nicht einzeln :D