Ulysses
Home
Help
Ulysses
»
General
»
Off-Topic
»
Staff Can't Spawn Entities
« previous next »
Print
Pages: [
1
]
Go Down
Author
Topic: Staff Can't Spawn Entities (Read 5923 times)
0 Members and 1 Guest are viewing this topic.
MNDart
Newbie
Posts: 2
Karma: 0
Staff Can't Spawn Entities
«
on:
April 26, 2017, 01:37:32 pm »
I recently started a SWRP server, on my server I disabled FAdmin to get a different Scoreboard, now none of my staff can spawn entities, does any one know how to fix this? Also with a similar question, how do I disable some tool guns?
Logged
BlueNova
Full Member
Posts: 113
Karma: 13
The most powerful force in the universe.
Re: Staff Can't Spawn Entities
«
Reply #1 on:
April 26, 2017, 03:14:46 pm »
Code: Lua
hook
.
Add
(
"PlayerSpawnSENT"
,
"Spawn Weps"
,
function
(
ply
,
class
)
if
not
ply
:
IsAdmin
(
)
then
return
false
end
end
)
Could use a hook like this but what you described is very vague, do you gets any errors at all?
As for disabling some tools I think Falco's Prop Protection has settings that you can tinker with for that.
Logged
MNDart
Newbie
Posts: 2
Karma: 0
Re: Staff Can't Spawn Entities
«
Reply #2 on:
April 26, 2017, 07:55:06 pm »
No I don't get any errors, where would I put the hook, also, thanks.
Logged
BlueNova
Full Member
Posts: 113
Karma: 13
The most powerful force in the universe.
Re: Staff Can't Spawn Entities
«
Reply #3 on:
April 26, 2017, 08:01:16 pm »
In theory (I don't know this for certain) but the hook can go in any file like a command file.
But I personally would put a standalone one like this in /garrysmod/lua/autorun may not be the most practical way but it works for me.
Logged
Print
Pages: [
1
]
Go Up
« previous next »
Ulysses
»
General
»
Off-Topic
»
Staff Can't Spawn Entities