Aduty Super Powers
Open the Super Powers menu by clicking "E" on a player or vehicle
When a player is selected using this, if you open the menu, it will automatically open on the player list and select that player, for easier management
Vehicle
Playe
Customizing data
rbStaff/client/customize_me.lua: Inside this file you will find this two functions, if you want to change something in the menus above its here!
function getAdutyPlayerData(ped)
return {
{
label = "Health",
value = GetEntityHealth(ped),
},
{
label = "Armor",
value = GetPedArmour(ped),
},
{
label = "Stamina",
value = GetPlayerStamina(ped)
},
{
label = "Weapon",
value = WEAPON_NAMES[GetSelectedPedWeapon(ped)] or "unknown",
},
}
end
function getAdutyVehicleData(veh)
return {
{
label = "Health",
value = GetVehicleHealthPercentage(veh),
},
{
label = "Speed KMH",
value = math.ceil(GetEntitySpeed(veh) * 3.6),
},
}
end
Last updated