To install, simply drag the LSCustoms folder into your resources. Be sure to start it in your server.cfg
About This Mod
This mod is a quick and simple solution for customizing cars if you have removed the option from vMenu or blocked client sided scripts. Code is far from perfect; however, releasing for someone who might want to improve this or use this. Support will not be given for the mod.
Why would he waste his time redoing the code in lua when people like you don’t even take the time to look at the code to begin with??
You can VERY EASILY edit this, and then just recompile it. I hear www.google.com is GREAT for finding answers on how to do things exactly like that!!!
It’s all client side, so there are no prices for anything.
Why would this have to be made into lua for you to translate?? Do you have some weird ability to only see code if it’s lua, otherwise it’s just a blank page??
There are 2 lines in main.cs that could use translating, while most of the strings used are inside menu.cs. Why not actually take a look and see for yourself??
No reason acting like a as*hole. It was just a friendly request from me cause I like his work. I am beginner you were beginner too but thank you for the tips
There are so many people here on the forums that expect to be spoonfed code instead of learning it themselves. “so we can translate and edit the price” to me made it seem like you’re one of those people. As an actual developer, the amount of leaking, stealing, and unwillingness to learn anything that alot of people here exhibit gets under my skin… Prob shouldn’t have been that big a dick about it. Thats my bad.
As for the menu, its a simple system, my own initial character creation scripts worked in the same way. Its a nice way to get to grips with the basics for doing this in C# and then build from there.
can somebody help me adding multiple locations for this?
private static void AddLocations()
{
CustomLocations.Add(new Vector3(-3503.19f, -3758.34f, 4.42f)); //LS Customs in Los Santos near Michael's house
CustomLocations.Add(new Vector3(-3180.9f, -2067.06f, 5.21f)); //LS Customs in Los Santos near Michael's house
CustomLocations.Add(new Vector3(-4380.21f, -2613.82f, 5.06f)); //LS Customs in Los Santos near Michael's house
}
all markers work but the menu wont open when i press e
i assume it gets stuck around here
stupid c# it has the same affect
i mean by the code this suppose to work too… but it wont
foreach (Vector3 LSCustoms in CustomLocations)
{}
and i tried what you said and it has the same affect like it wont pass thru the distance check
foreach (Vector3 position in CustomLocations)
{
//Gets the float distance between the character and the marker
float MarkerDistance = World.GetDistance(Game.Player.Character.Position, position);
//Check Distance
if (MarkerDistance <= 1.5f) //Checks to make sure the player is within range of the marker