ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   С/С++, C#, Rust, Swift, Go, Java, Perl, Ruby (https://forum.antichat.xyz/forumdisplay.php?f=24)
-   -   Vehicle Invulnerable C++ (https://forum.antichat.xyz/showthread.php?t=1307973)

Arviando 28.03.2015 20:54

Hello Guys.

Im trying to set the invulnerable flags for my current vehicle.

I found this code here, but this not working. (0.3z R1)

Код:





Код:

void VehicleFlags(unsigned char FLAG)
{
unsigned int CurrentVehiclePointer = *(unsigned int*)0xBA18FC;
*(unsigned char*)(CurrentVehiclePointer + 0x42) = FLAG;
}

VehicleFlags(156);



what can be the problem?

Arviando 30.03.2015 11:23

bump

SR_team 30.03.2015 11:27

Цитата:

Сообщение от Arviando

bump

invulnerable flags = 188

Arviando 31.03.2015 12:45

@SR_team

Код:





Код:

#define VEHICLE_FLAGS_INVULNERABLE  ( 4 | 8 | 16 | 128 )


why 188? :D

if i set this with 188 it not works, but if i use a loop it works but the vehiclespeed get not the maximum of the current car. :(

what can be the problem?

i must set this in a loop :(

Arviando 02.04.2015 23:57

no one?

Arviando 04.04.2015 16:27

bumpy


Время: 12:18