Hey you guys out there!
First i want to thank you very much to take time for reading this thread :)
I got this problem:
I got Darkrp mod to my server and made it all! now i just need to find out how to make some money printers
VIP only (ulx admin mod).
I tried this code and putted it into player.lua:
vipents = {"vip_printer"}
if table.HasValue( vipteams, ent:GetClass() ) and !self:IsUserGroup("vip") and !self:IsSuperAdmin() then
Notify(self, 1, 4, string.format("That entity is vip only!"))
return
end
Any help :s
Maybe you should have searched this first on facepunch before posting.
Page with how to:
[URL="http://facepunch.com/threads/1143480?highlight=donator+printer"]http://facepunch.com/threads/1143480?highlight=donator+printer[/URL]
didnt worked! but thank you!
- i have searched for others!
- any other that can help me please :-)))
brandonj4 telling people to search before asking, I laughed.
Anyways; do you get any errors with your current code snippet? Could you post the entire block? What admin mod are you using? There's a lot that could help us, help you. When posting in the future use lua tags: [.lua] <My Code> [./lua] (Exclude the period you see in the brackets.)
Its funny how you call me out like that then post 'friendless' after mine. If you actually read the sticky to this forum you would understand why.
i fixed it! thanks pencilon desk!
Sorry, you need to Log In to post a reply to this thread.