• custom armor values to different teams
    1 replies, posted
how do i add my custom teams (darkrp jobs) to this code this is the default function ENT:Use(plyUse) self:Remove() plyUse:SetArmor(30) end how do i add teams there so when they pick it up they get the armor value that i chose? [highlight](User was banned for this post ("See Developer Discussion for help!" - NiandraLades))[/highlight]
Stop making new threads, someone told you how to do so in the last thread less than an hour ago. Use [CODE] tags too. [CODE]function ENT:Use( ply ) self:Remove() if ply:Team() == "TEAM_CITIZEN" -- whatever team you want here, look in your DarkRP jobs file. ply:SetArmor( 30 ) end end[/CODE]
Sorry, you need to Log In to post a reply to this thread.