Make metal detectors not detect the weapon of government workers' metal items
#10
(06-02-2018, 02:39 PM)Grapefruit Wrote:
(06-02-2018, 02:35 PM)Pollux Wrote:
(06-02-2018, 12:18 PM)Tomo Wrote:
(06-01-2018, 06:50 PM)Pollux Wrote: We were unable to find a reliable or performance-efficient way of making it also detect those with stolen police uniforms while I was creating the detectors, this is why it's currently not a feature. I will however look into it more, I can for sure make it bypass for gov workers though.

Can you not just say that if the player's model is the police uniform model, allow them past?

+Support for the suggestion tho

That is was Broc suggested but police aren't always going to wear their uniform. It also won't be very future proof incase we ever change those models to suit pines better or something. It would have also taken longer than implementing the team thing so we just went with that instead (beta paths always differ from live ones it's so annoying). I can implement it now if you lot want it obviously, just need to find all the police, sru, fireman, paramedic, sru serg, sru heavy armour, vp and president models. It is just a lot more efficient to check the teams.

How about you just make it so that all government workers and people with a police uniform doesn't effect the beep? That would do the trick.

And if we were ever switch to another police uniform, I assume all you would have to do is change the code to the different model.

The only reason I really added the bypass is because without it you just hear a constant beeping in the nexus, i'm not too sure how I feel about adding more "bypasses" to the metal detectors. Right now I pretty much just do a IsGovernment() check. Yeah if we do ever switch uniform i'll have to add all of the new model paths, and this wouldn't be only thing that uses model checks in the gamemode. I mean I really don't mind adding it, it's more do you guys really need it?
Pollux
Fearless Management
bork
__________________________________________________________________


Messages In This Thread
RE: Make metal detectors not detect the weapon of government workers' metal items - by Pollux - 06-02-2018, 02:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)