[QUOTE=ph:lxyz;45641650][url]https://lmddgtfy.net/?q=Where+is+player.lua+in+darkrp%3F[/url][/QUOTE]
people use duckduckgo?
I thought "let me google it for you" wasn't allowed .. but I have to agree on the viewpoint.
Don't be lazy
Try to find it yourself first before asking people for help. You're a big boy now.
"Source path: gamemode / server / player.lua"
I already tried to find it myself... i go into gamemode but then there is no server folder.
[QUOTE=Nak;45641708]I thought "let me google it for you" wasn't allowed .. but I have to agree on the viewpoint.
Don't be lazy
Try to find it yourself first before asking people for help. You're a big boy now.
"Source path: gamemode / server / player.lua"[/QUOTE]
oh no but that wasnt let me google it for you, that was "let me duck duck go that for you"
ok so let me see, facepunch is a thread where you ask a question, but a matter of fact, it's really where you ask a question and people come on to your thread and start acting like smart asses instead of helping. Seems legit.
[QUOTE=DiTTo4;45641779]ok so let me see, facepunch is a thread where you ask a question, but a matter of fact, it's really where you ask a question and people come on to your thread and start acting like smart asses instead of helping. Seems legit.[/QUOTE]
[QUOTE=Nak;45641708]
"Source path: gamemode / server / player.lua"[/QUOTE]
-_-
thank god i said when i go in my gamemode folder there is no server folder.
calm down, i looked through darkrp and there is no player.lua file
[QUOTE=DiTTo4;45641779]ok so let me see, facepunch is a thread where you ask a question, but a matter of fact, it's really where you ask a question and people come on to your thread and start acting like smart asses instead of helping. Seems legit.[/QUOTE]
The fact that we get tons of questions that can be answered by a few keystrokes on Google all the time tent to make people mad. We usual try to ignore them but they get bumped all the time.
This is how you do it:
- Make a search in the folder for "player.lua".
- If no result pops up search Google or any available search-engines. ("It shows gamemode/server/player.lua" but you can't find it)
- Then instead of: "I can't find player.lua" you write a detailed thread:
"I'm tryin to edit <X> in server/player.lua for DarkRP but I can't find it".
Where someone would reply: "DarkRP had a major update where its all moved into modules. Depending on the version you need to do <y> to edit <x>"
I am trying to make it so people can change their name to stuff with {,},[,],(,) and for it not to say Bad RPname.
[QUOTE=DiTTo4;45642051]I am trying to make it so people can change their name to stuff with {,},[,],(,) and for it not to say Bad RPname.[/QUOTE]
You're looking for: DarkRP / gamemode / modules / base / sv_entityvars.lua
Line 148 -> 185
The "if not string.match(args, "^[a-zA-Z0-9 ]+$") then" basic disallows any symbols being added
As a warning I'll suggest you add "%" in-front of any "{,},[,],(,)" the player adds .. as they can mess up some pattern.
It's not their, my cl_entityvars only goes up to line 98.
LOL nvm you said sv_entityvars not cl_entityvars. Sorry, my mistake.
Sorry, you need to Log In to post a reply to this thread.