• [DarkRP] Checking if the Player you're looking at is arrested
    1 replies, posted
Hey, I'm trying to make a code so you can't hit a person is jailed if you're a jailed person, don't ask questions regarding this as I would much rather have a straight answer than just explain it.     local function IsArrestedthing(crim, num, cop) local tr = self.Owner:GetEyeTrace().Entity if tr:IsValid() and tr:IsPlayer() then  --Right here I want to check if TR is arrested or not return false end end hook.Add("playerArrested", "plyarrested", IsArrestedthing) I need to check if "tr" is an arrested player, how would I do this? Thank you.
Functions/Player/Shared/isArrested
Sorry, you need to Log In to post a reply to this thread.