Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script [ESX] esx_subway

Elenawis

Silver Elite
Joined
Sep 6, 2022
Messages
19
Reaction score
685
Points
306
Location
Türkiye
55c047525a37c59dcfe393a8e040205e40f13532.jpeg


[ESX] esx_subway

Hello everyone…

I’m here to present a simple job.
    • Company garage

    • Business management menu

    • Take items via props





HTML:
Add this to the file: ox_inventory\data\items.lua

{
  coords = vec3(-1256.740234, -278.990112, 37.353382),
  target = {
    loc = vec3(-1256.740234, -278.990112, 37.353382),
    length = 0.6,
    width = 1.8,
    heading = 340,
    minZ = 36.35,
    maxZ = 38.35,
    label = 'Open personal locker'
  },
  name = 'subwaylocker',
  label = 'Personal Locker',
  owner = false,
  slots = 70,
  weight = 70000,
  groups = {['subway'] = 0}
},


HTML:
Add this to the file: ox_inventory\data\items.lua

['cola'] = {
       label = 'eCola',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_ecola_can`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with cola'
       }
   },
  
   ['coffee'] = {
       label = 'Coffee',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `p_amb_coffeecup_01`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with coffee'
       }
   },

   ['milkshake'] = {
       label = 'Milkshake',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_food_cb_coffee`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with milkshake'
       }
   },

   ['orangejuice'] = {
       label = 'Orange juice',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_food_cb_juice02`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with orange juice'
       }

Tested on ESX Legacy 1.7.5
 

Kering12

Bronze Elite
Joined
Mar 28, 2023
Messages
10
Reaction score
4
Points
156
Location
indonesia
View attachment 8438

[ESX] esx_subway

Hello everyone…

I’m here to present a simple job.






HTML:
Add this to the file: ox_inventory\data\items.lua

{
  coords = vec3(-1256.740234, -278.990112, 37.353382),
  target = {
    loc = vec3(-1256.740234, -278.990112, 37.353382),
    length = 0.6,
    width = 1.8,
    heading = 340,
    minZ = 36.35,
    maxZ = 38.35,
    label = 'Open personal locker'
  },
  name = 'subwaylocker',
  label = 'Personal Locker',
  owner = false,
  slots = 70,
  weight = 70000,
  groups = {['subway'] = 0}
},


HTML:
Add this to the file: ox_inventory\data\items.lua

['cola'] = {
       label = 'eCola',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_ecola_can`, pos = vec3(0.01, 0.01, 0.06), busuk = vec3(5.0, 5.0, -180.5) },
           waktu penggunaan = 2500,
           notification = 'Anda memuaskan dahaga Anda dengan cola'
       }
   },
 
   ['kopi'] = {
       label = 'Kopi',
       berat = 350,
       klien = {
           status = { haus = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `p_amb_coffeecup_01`, pos = vec3(0.01, 0.01, 0.06), busuk = vec3(5.0, 5.0, -180.5) },
           waktu penggunaan = 2500,
           notification = 'Anda menghilangkan dahaga dengan kopi'
       }
   },

   ['susu kocok'] = {
       label = 'Milkshake',
       berat = 350,
       klien = {
           status = { haus = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_food_cb_coffee`, pos = vec3(0.01, 0.01, 0.06), busuk = vec3(5.0, 5.0, -180.5) },
           waktu penggunaan = 2500,
           notification = 'Anda menghilangkan dahaga dengan milkshake'
       }
   },

   ['jus jeruk'] = {
       label = 'Jus jeruk',
       berat = 350,
       klien = {
           status = { haus = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_food_cb_juice02`, pos = vec3(0.01, 0.01, 0.06), busuk = vec3(5.0, 5.0, -180.5) },
           waktu penggunaan = 2500,
           notification = 'Anda menghilangkan dahaga dengan jus jeruk'
       }[/KODE]

Diuji pada ESX Legacy 1.7.5
[/QUOTE]
 

xemodz10

Bronze Elite
Joined
Oct 20, 2022
Messages
13
Reaction score
5
Points
166
Location
belg
View attachment 8438

[ESX] esx_subway

Hello everyone…

I’m here to present a simple job.






HTML:
Add this to the file: ox_inventory\data\items.lua

{
  coords = vec3(-1256.740234, -278.990112, 37.353382),
  target = {
    loc = vec3(-1256.740234, -278.990112, 37.353382),
    length = 0.6,
    width = 1.8,
    heading = 340,
    minZ = 36.35,
    maxZ = 38.35,
    label = 'Open personal locker'
  },
  name = 'subwaylocker',
  label = 'Personal Locker',
  owner = false,
  slots = 70,
  weight = 70000,
  groups = {['subway'] = 0}
},


HTML:
Add this to the file: ox_inventory\data\items.lua

['cola'] = {
       label = 'eCola',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_ecola_can`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with cola'
       }
   },
 
   ['coffee'] = {
       label = 'Coffee',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `p_amb_coffeecup_01`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with coffee'
       }
   },

   ['milkshake'] = {
       label = 'Milkshake',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_food_cb_coffee`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with milkshake'
       }
   },

   ['orangejuice'] = {
       label = 'Orange juice',
       weight = 350,
       client = {
           status = { thirst = 200000 },
           anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
           prop = { model = `prop_food_cb_juice02`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
           usetime = 2500,
           notification = 'You quenched your thirst with orange juice'
       }

Tested on ESX Legacy 1.7.5
 
Top