
28.03.2015, 20:54
|
|
Новичок
Регистрация: 05.01.2015
Сообщений: 17
С нами:
5974259
Репутация:
0
|
|
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?
|
|
|