• Checking if player is ragdolled for armor script + need two addons incorporated
    0 replies, posted
I already got FAdmin ragdoll functionality setup. Now I just need the rape swep and the magic wand rewrite ragdoll functions incorporated. Can anyone help me? Here's a download of the two addons so you can look at the code, this script gives money when the player is ragdolled. Uploadfiles.io hook.Add("Think", "CheckPlayerForRagdoll", function() for k, v in pairs(player.GetAll()) do if v.armorSuit and v:FAdmin_GetGlobal("fadmin_ragdolled") then local data = Armor:Get(v.armorSuit) v:addMoney(data.Price) v:removeArmorSuit() end end end)
Sorry, you need to Log In to post a reply to this thread.