• DarkRP - "ENT.SeizeReward" not working.
    5 replies, posted
I've been trying to get this working since earlier today and I just can't get it to work no matter what I do, Maybe I'm doing this wrong but I'm pretty sure it's right, I haven't done this in a while so I really don't remember. I want to make an entity able to be seized by PD using this "ENT.SeizeReward = 500" I've placed it into "Init.lua" and even tried "Shared.lua" I'm using the old Drugz Mod to do this. --------------------------------------------------------------- AddCSLuaFile("shared.lua") include("shared.lua") ENT.MODEL = "models/katharsmodels/syringe_out/syringe_out.mdl" ENT.SeizeReward = 500 ENT.LASTINGEFFECT = 20; function ENT:High(activator,caller) --make you invincible if not self:Realistic() then activator:SetHealth(125) end self:Say(activator, "It's my arm man! My fuckin' arm!") end --------------------------------------------------------------- Any help would be appreciated.
The entity has to be owned by a non cp and has to be destroyed using the stunstick by a cp
I've done that, I had a friend test it with me and it still couldn't be destroyed.
You have to set health to the entity then I guess?
Yeah, that could be it. I'll do something about that and post back with a result.
I forgot to post a result before going to bed but it still didn't work, the entity can now be destroyed with Weapons and a stunstick but you still don't get a reward for destroying it.
Sorry, you need to Log In to post a reply to this thread.