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)
what can be the problem?
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?
Последнее редактирование: