Currently the developers are putting their own money into JC2-MP to keep the servers online.

Please take a few seconds of your time and disable your AdBlock plugin for our website.

Ad revenue is not going to developers, it is used purely for covering our hosting costs.

 

You are also free to donate, which removes all ads from our website!

Patch 0.3 was just released! Full changelog here: https://t.co/4A50m6IKen

3 years ago

Advertisement
May 25, 2020, 10:34:27 pm

Author Topic: Buymenu edit - all vehicles, dlc & sorted  (Read 20030 times)

Urik

  • Donator
  • Full Member
  • *****
  • Posts: 119
    • View Profile
Buymenu edit - all vehicles, dlc & sorted
« on: December 19, 2013, 10:58:54 pm »
Video demo here
An edit of Philpax's buymenu.
Thanks to Jman100 - he added all custom and DLC weapons, and started with tabs in the first place.
I sorted vehicles into tabs and set prices.
If you want everything to be free, open \shared\buymenu.lua
and in line #6 change

Code: [Select]
self.price = price to
Code: [Select]
self.price = 0Github link
__________________________________________________________________________
To everyone, I strongly recommend using JasonMRC version now, it has more vehicle options, more appearance customizing options and is better in every way. I use it myself.
__________________________________________________________________________
As about this release, I am not going to update it anymore (and never planned to), my intention from beginning was to bring attention so people like Jason would come up with even better. Thanks to everyone who liked it and used it :)
« Last Edit: May 28, 2014, 12:33:38 am by Urik »

zoydbot

  • Donator
  • Jr. Member
  • *****
  • Posts: 56
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #1 on: December 20, 2013, 03:17:04 am »
thank you for the meticulous work, we all appreciate it

Xen0

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #2 on: December 20, 2013, 05:10:58 pm »
I am receiving the error below...

Code: [Select]
Failed to load Lua in module buymenu: /home/jc2mp/scripts/buymenu/shared/._buymenu.lua:1: unexpected symbol

Urik

  • Donator
  • Full Member
  • *****
  • Posts: 119
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #3 on: December 20, 2013, 05:42:49 pm »
It shouldn't. Did you change anything?

misterff1

  • Donator
  • Hero Member
  • *****
  • Posts: 582
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #4 on: December 20, 2013, 07:19:56 pm »
Can you get this on github? cant download this through linux command

Xen0

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #5 on: December 20, 2013, 07:51:20 pm »
Can you get this on github? cant download this through linux command

I agree.  I downloaded it twice from Mediafire and it's not working.

Urik

  • Donator
  • Full Member
  • *****
  • Posts: 119
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #6 on: December 20, 2013, 08:49:17 pm »
Ok, I uploaded it on github, hopefully it's accessible fine. I had no previous experience with github and found it very complicated at first.

Jeff

  • JC2-MP Betatester
  • Full Member
  • *****
  • Posts: 104
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #7 on: December 20, 2013, 09:00:36 pm »
Perfect just what I needed to begin work on my script.

Orinoco

  • Donator
  • Jr. Member
  • *****
  • Posts: 53
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #8 on: December 20, 2013, 09:42:14 pm »
It works for my server. I just changed the order of some vehicles and I removed some duplicities but the buy menu is now much better. Thanks!

rAv3nzZ

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #9 on: December 21, 2013, 07:43:16 pm »
Not working with the new 0.1.1 patch. Good work btw.

Orinoco

  • Donator
  • Jr. Member
  • *****
  • Posts: 53
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #10 on: December 21, 2013, 07:46:51 pm »
I updated to 0.1.1 and the script still fully works on my server.

Darwood37

  • Donator
  • Hero Member
  • *****
  • Posts: 690
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #11 on: December 21, 2013, 08:37:42 pm »
excellent job on the script, looks great. A soothing comfort for my obsessive compulsive neatness disorder.

rAv3nzZ

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #12 on: December 21, 2013, 10:17:58 pm »
I updated to 0.1.1 and the script still fully works on my server.

Yeah sorry, it was a problem of text formatting :S

Eraknelo

  • Sr. Member
  • ****
  • Posts: 310
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #13 on: December 21, 2013, 10:31:24 pm »
Thanks dude! I was running one of my own versions with all vehicles, but this is much better!

SegralJr

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Buymenu edit - all vehicles, dlc & sorted
« Reply #14 on: December 23, 2013, 07:43:05 am »
Is it possible to edit the scripts and spawn more than one vehicle at a time