• Setting custom speed amounts for a job?
    2 replies, posted
Title says all. For example, I have a class named "Juggernaut" I want him to go maybe 70 below the max speed(I currently don't know it.) TEAM_JUGGERNAUT = DarkRP.createJob("Juggernaut", {     color = Color(8, 0, 177, 255),     model = {"models/player/specnaz/slow_specnaz.mdl"},     description = [[Juggernaut, Lol fucking buff guy! RAID = YES(with warrant) MUG = NO STEAL = NO BASE = NO]],     weapons = {"m9k_m249lmg", "arrest_stick", "unarrest_stick", "stunstick", "weaponchecker", "door_ram", "m9k_mossberg590"},     command = "jugger",     max = 1,     salary = 75,     admin = 0,     vote = true,     hasLicense = true,     candemote = true,     category = "Police",     PlayerSpawn = function(ply)         ply:SetArmor(150)     end,     customCheck = function(ply) return CLIENT or         table.HasValue({"owner", "superadmin", "smodv", "modv", "vipplus", "sitv", "hos", "adminv", "manager"}, ply:GetNWString("usergroup"))     end,     CustomCheckFailMsg = "This job is only for VIPPLUS!", }) Currently my class right now. Any help would be nice Gamemode:DarkRP
You can put ply:SetRunSpeed(number) ply:SetWalkSpeed(number) inside your PlayerSpawn function, right below where you have ply:SetArmor(150)
70% of 500 is 350. To get 70% of of a number you'd times it by 0.7. 100 * 0.7 -- 70 100 * 0.14 -- 14 100 * 0.08 -- 8
Sorry, you need to Log In to post a reply to this thread.