General > Developers Corner

Block Addons (Pills) for normal users

(1/1)

jvicu_2001:
Can I block Pills for normal users? How?

Avoid:
Hello,
this is not the proper sub-forum, it should go into off-topic/developer discussion, in my opinion.

Anyways, you could do a simple if statement that checks if the player is admin that uses the pill, if not return. :)

--- Code: ---if !ply:IsAdmin() then return end

--- End code ---

But I do now know anything about the pills addon, unfortunatley.
Avoid

jvicu_2001:
I'm new in this, how can i use this in a non-dedicated server?

Navigation

[0] Message Index

Go to full version