Hey, would it be possible to add a function or method to get the current Prop Protection in SF ?
Including the "Buddies" with their Permissions, but also stuff like "Allow everyone to use your props." and "Allow these players to also use your props:" would be nice too
Fairly sure ano wants the ability to check who has access to the owner's stuff, maybe extend the functions to propprotection.isAllowedFor*(thing: entity | player, accessType: enum, plyToCheck: player? = ents.owner()) so you can choose who to check propprotection for?
she/her
Founder of The Anisu Corporation
05-12-2021, 05:39 PM, (This post was last modified: 05-12-2021, 05:48 PM by 4N0NYM. Edited 1 time in total.)
it return always true. Despite him not being on my Buddies list nor having other stuff activated.
That's checking your access to Doc's props, not the other way round.
I've added two new functions to the propprotection library which will let you query other player's access to the chip owner's props (either for a specific entity, or for all entities just like the existing functions). They'll be available after the next restart.