EZ Scripts
DiscordTebex
  • 💡Welcome To EZ Scripts
  • 🛡️Ez Admin Authority
    • Config File
  • 🫳Ez Item Spawner
    • Config File
    • Permission Check
    • Add Item
    • Get Items
  • FIVEM
    • 🍀EZ White Widow
      • Config File
      • Add more locations
      • Common Issues
    • 🟣EZ Lean Drug
      • Config File
      • Add more locations
    • 🛡️Ez Admin Authority
    • 🔠EZ Plate Changer
      • Config File
    • 📑Ez Lib
      • Config File
    • ❄️EZ Coke & Crack Drug
      • Config File
      • Add more locations
    • 🫳Ez Item Spawner
  • RedM
    • 💼EZ Society & Job Menu
      • Config File
      • Exports
      • Syn Society
    • 🌍EZ Fast Travel
      • Config File
    • 🍖Ez Consumables
      • Config File
    • 📺Ez HUD
      • Config File
      • Exports and Events
    • 🛡️Ez Admin Authority
    • 🚷EZ Combat Logging
      • Config File
    • 🗽EZ Life Style
      • Getting Life Style
      • Config File
    • ☢️EZ Radial Menu
      • Config File
    • 🫳Ez Item Spawner
    • ❓Ez Report Menu
      • Config File
Powered by GitBook
On this page
  • Server
  • Client

Was this helpful?

  1. RedM
  2. 🗽EZ Life Style

Getting Life Style

There are 2 ways of getting the life style of a player, using export or using the state bag. The export uses default civilian if lifestyle is nil whilst the state bag will return nil if lifestyle is nil.

Server

Player(source).state.lifeStyle

or

exports["ez_lifestyle"]:GetLifeStyle(source)

Client

LocalPlayer.state.lifeStyle

or

exports["ez_lifestyle"]:GetLifeStyle()
PreviousEZ Life StyleNextConfig File

Last updated 5 months ago

Was this helpful?