PivityGmodStore

Job Variables

With Xenin F4, you can add extra variables into your jobs.lua that will allow extra functionality inside the F4 Menu. You can find these as such:


Player model Customization

You can customize how the player model preview poses, what weapon they carry and much more with Xenin F4.

Sequence

Just like the configuration in the F4 Menu, you can select a pose. The one you select inside the configuration in the F4 menu is the pose that all models will do - However, you can specify the job to do a different one to all the other jobs. To do this, enter this variable into your jobs file:

sequence = "insertposehere"

There are multiple sequences, which can be listed here:

  1. pose_standing_01
  2. pose_standing_02
  3. pose_standing_03
  4. pose_standing_04


Weapon Carry

Like poses, you can also make the player model hold a SWEP of your choice. This will simulate the playermodel holding a swep in 'safety mode'. To do this, enter this variable into your jobs file:

weaponCarry = "insertweaponswephere"


UI Customization

You can customize how the descriptions look, and add some other features that distinguish the job from others.


IsHTML

This distinguishes if you want your description to use HTML values, which allows you to make them a little bit more unique to others. In order to do this, enter this into your job:

isHTML = true/false

This will then allow you to use HTML values in your description.

Ranks

Don't get this one confused with the Custom Check - This will allow you to have a little icon on the menu that informs players that it is a donator job. You can do this by entering this into your job:

ranks = {
["vip"] = true,
["vip+"] = true
}

If you would like to customise the ranks icon, add the following to your job:

ranksIcon = "imgur_id"

Bodygroups

You can have your model use specific bodygroups in menu

If you were to write this in PlayerSpawn

ply:SetBodygroup(1, 0)
ply:SetBodygroup(3, 4)

You would have to add this to your job

bodygroups = {
[1] = 0,
[3] = 4
}

Can't find what you're looking for?

Contact support