4 filer likt
9 kommentarer
0 videoer
0 opplastninger
2 følgere
Unfortunatelly in v2.0 it crashes for me too. But version 1.1 works fine. It doesn't show angle, but it's better then nothing.
@PlasticTangerine, thanks, everything works! :) Do you mind if I use part of your code for spawning vehicles in my mod? Of course all credit goes to you.
@EnforcerZhukov, yes that is exactly what i'm trying to do :) I tried a lot of options but only thing i managed to run is when player enters any vehicle wanted lvl gets locked.
@PlasticTangerine, could you help me a bit in creating a mod? I'm trying to do something if player is in specific car, but i don't know how to check it. I was trying to understand functions while looking at mod's source, but i still can't figure this out.
Ped playerPed = PLAYER::PLAYER_PED_ID();
Vehicle veh = PED::GET_VEHICLE_PED_IS_USING(playerPed); //this gives me vehicle i'm using
DWORD adder = GAMEPLAY::GET_HASH_KEY("ADDER"); // this gives me adder hash
but how can i get veh hash so i can do something like
if(veh=adder)
{
//do something
}
I'll be really grateful for advice :)
How can i check model of vehicle i'm driving? I tried something like that, but it's not working:
Vehicle vehicle = player.CurrentVehicle;
Vehicle bfi = 0x432AA566;
if (vehicle == bfi)
{
//do something
}
@EnforcerZhukov, I was thinking about FIB Granger, or FIB Buffalo. It would be perfect, because they are not to easy to obtain but it's possible. I'm trying to find something on gta site, but without success. Only thing i have found is this native that i think could activate mod when in any of police vehicles if properly used IS_PED_IN_ANY_POLICE_VEHICLE, but I can't get it working :(
@EnforcerZhukov can you make a mod that limits wanted level when driving specific vehicle??
Is it possible to make some kind of travel option to go to North Yankton instead of teleporting there, so it will be a bit more realistic? Something like travel marker at airport that wil load location and teleport player automatically?
Is it possible to spawn FIB buffalo somewhere?? Also it would be great if that JB 700 could spawn in the movie studio