Tool VIP only

How would i make it so that a certant tool is VIP only?

like lets say i want the ignite tool to be VIP only?

how would i make that? btw im using ULX

also how would i make the toolgun VIP only too?

like when u first join the server you dont get a toolgun only vip people do.

**[Gamemode.CanTool

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.CanTool)**

**[Gamemode.PlayerLoadout

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.PlayerLoadout)**

Add checks for VIP, which I assume you’re using something like IsUserGroup(“VIP”)

http://www.facepunch.com/threads/1053952-Making-certain-tools-donator-exclusive

Too lazy?

[lua]
function UseTool( player, traceline, toolmode )
if( toolmode == “omgdonatortool” or
toolmode == “killeverythingtool” )then
return player:IsUserGroup(“donator”);
end
end
hook.Add( “CanTool”, “HerpDerpToolCheck”, UseTool )
[/lua]

Code taken from Freze, did not write this, even though I could.

Hey that’s me!

Also to make IsUserGroup(“donator”) work. You’ve gotta make it in users.txt