• Restrict Certen jobs to pickup Entities
    10 replies, posted
Well I got Police job and now I got system for meth cook and bank robbery and problem is that Police can pick up some of the items and since I'm not that good at lua I need your help,please
The way i would do it is using GM/AllowPlayerPickup and then run a check with Functions/Player/Shared/getDarkRPVar to see if the player that tries to pick up the entitie is the certain job. return true if he is, return false otherwise. You can figure out the rest by yourself
Thanks I'll take look since I'm not good with lua and still learning can you give me your steam or discord any kind of contact please ? Thanks
Well i can give you my discord and then invite you to my server where other people (and me sometimes) can help
yea sure,thanks here is my ID #9451
you do know that i need the name as well
Paco is a name
BUMP
Trackster gave you everything you need to make this. I can't be bothered ranting at you again so I'll just leave the link to gmodstore.
Dude that pickup is for gravgun I am not talking about that -_-
It's kinda sad when you come here, call us kids, but can't even read a single wiki page properly.
Sorry, you need to Log In to post a reply to this thread.