Author Topic: Disable swep spawning?  (Read 9781 times)

0 Members and 1 Guest are viewing this topic.

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Disable swep spawning?
« on: May 09, 2010, 11:10:19 AM »
How can I disable swep spawning? For RP, because I don't want anyone to spawn then except through the RP menu's...





Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Disable swep spawning?
« Reply #1 on: May 09, 2010, 06:53:40 PM »
URestrict may do that. Jay will pipe up with more detail.
However, if the RP gamemode code is done correctly, IT should disable all other items, or allow control of, that shouldn't/wouldn't normally be used in the gamemode.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Disable swep spawning?
« Reply #2 on: May 09, 2010, 09:00:37 PM »
URestrict can currently do this in sandbox. I have not tested in DarkRP, so no promises.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: Disable swep spawning?
« Reply #3 on: May 10, 2010, 03:17:33 AM »
<On Stuff>

Well there is a command for it in DarkRP, but it doesn't seem to work. =-|

<On Stuff>

I have urestrict, and it doesn't seem to disable Sweps. (at least in DarkRP)
I could be doing something wrong?







Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Disable swep spawning?
« Reply #4 on: May 10, 2010, 06:53:26 AM »
Quote
I have urestrict, and it doesn't seem to disable Sweps. (at least in DarkRP)
I could be doing something wrong?
     - What are you doing step-by-step to restrict Sweps with URestrict?
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: Disable swep spawning?
« Reply #5 on: May 10, 2010, 12:37:43 PM »
I have done anything because, I don't see a setting for SWEPS? (Probablly have to do more then checkmark things xD me and my lazyness)

Also to make this clear. I want them to be able to spawn WITH the SWEPS (like when you die you spawn with them).

But I don't want them to be able to go to the Q menu and spawn them / create them in the weapons tab.

I also want them to be able to pick up SWEPS, since thats how RP is... xD





Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: Disable swep spawning?
« Reply #6 on: May 10, 2010, 01:14:49 PM »
Ok, I removed urestrict, and found out that the normal DarkRP, SWEP disabling works. Apparently urestrict must of been conflicting with the DarkRP things.

But now I'm stuck with no way to block certain tools...





Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Disable swep spawning?
« Reply #7 on: May 10, 2010, 01:27:11 PM »
DarkRP doesn't play nice with most addons. :P
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: Disable swep spawning?
« Reply #8 on: May 10, 2010, 01:46:39 PM »
I agree with that.





Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Disable swep spawning?
« Reply #9 on: May 10, 2010, 02:12:49 PM »
Just in-case you didn't already know, URestrict is undergoing major redevelopment. So, if you have any suggestions, please feel free to let me know. Current todo list can be found here.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly