Nevermind.. I've been experimenting native call then find the solution for this problem
TheAS
View profile on GTA5-Mods.com »
Posts made by TheAS
-
RE: My Question about Vehicle Lights
-
My Question about Vehicle Lights
Hi, i'm developing a realistic script for GTA V and i'm wondering is there any way to turn on vehicle lights while the engine is still off?
This is why i need that solution..
I'm working on some injection stuff (like real life vehicles) where it seems like you turn the key to ON mode (on motorbikes) but you cannot simply start the bike's engine yet, cause you need to wait for the injection to finish their job. And, usually when the injection is on the lights is also on (even when the engine is still off)..
That's why i want to make this a realization to my script so i can adapt more features (Like vehicle battery runs out).
So if you happen to know a way to do this and tell me, i would really appreciate it -
Player Backward Vector?
Hi, i found out that there is ForwardVector enum in the Game.Player.Character inside C# scripthook code..
I wonder how to get the BackwardVector, if anyone know i would really appreciate it.. Thx -
RE: need to know something with creating menu's
@ShadoFax bool isActive = false;
var godmode = new UIMenuItem("Godmode", "");
playermenu.AddItem(godmode);
playermenu.OnItemSelect += (sender, item, index) =>
{
if (item == godmode)
{
if (isActive)
{
Game.Player.IsInvincible = false;
isActive = !isActive;
UI.Notify("Godmode Disabled");
}
else
{
Game.Player.IsInvincible = true;
isActive = !isActive;
UI.Notify("Godmode Enabled");
}
}
};
} -
RE: need to know something with creating menu's
@ShadoFax I believe u can use boolean to be the switch..
u can use this code below :
make boolean for example isActive, then inside if (item == godmode) put that boolean as an if..
Example :
if (item == godmode)
{
if (isActive)
{
Game.Player.IsInvincible = false;
isActive = !isActive;
UI.Notify("Godmode Disabled");
}
else
{
Game.Player.IsInvincible = true;
isActive = !isActive;
UI.Notify("Godmode Enabled");
}
} -
RE: dev-c.com website won't open (404)
@ikt thank you, i really appreciate it
-
dev-c.com website won't open (404)
Is anyone knows what happened with Alexander Blade's website? Why can't it be opened?
I really need to open that website to see the list of nativeDB.. If anyone can give me zipped NativeDB reference that would be great