Fearless Forums
Fearless looking for geeks - Printable Version

+- Fearless Forums (https://fearlessrp.net)
+-- Forum: Community & Server Information (https://fearlessrp.net/forumdisplay.php?fid=1)
+--- Forum: News & Announcements (https://fearlessrp.net/forumdisplay.php?fid=2)
+---- Forum: Archive (https://fearlessrp.net/forumdisplay.php?fid=36)
+---- Thread: Fearless looking for geeks (/showthread.php?tid=68037)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: Fearless looking for geeks - Grunt - 01-17-2016

(01-17-2016, 05:43 PM)Marty Wrote: Geek is a little bit insulting is it not ?

Only if you think being a geek is a bad thing... Which it's not.


RE: Fearless looking for geeks - Edned - 01-17-2016

Yeah I am a geek xD


RE: Fearless looking for geeks - Astari - 01-17-2016

(01-17-2016, 05:40 PM)Doctor Internet Wrote:
(01-17-2016, 04:28 PM)Astari Wrote:
(01-17-2016, 04:15 PM)Nuka Wrote: if ("nuka" = string "developer")
        apply for "contributer";

lua error on line 1 c:


hook.Add("PlayerSay", "astarii", function ( ply, text, public )
text = string.lower( text )
if ( text == "!makeAstariContributor" ) then
RunConsoleCommand("ulx", "adduser", "astari", "contributor")
end)

yay

Firstly, there is a function built into the GM for creation of commands.
Secondly, ULX isn't used on the servers, instead relying on a system built into the gamemode, built on (iirc) Evolve.
Merry Christmas.

implying i know that
implying i know they have evolve
merry kys.


RE: Fearless looking for geeks - JackZ - 01-17-2016

i can code jobs for darkrp if thats needed Wink


RE: Fearless looking for geeks - Jax - 01-17-2016

I'm pretty good on paint?


RE: Fearless looking for geeks - Blurr - 01-17-2016

Geek, hmm.


RE: Fearless looking for geeks - Zyphix - 01-17-2016

(01-17-2016, 05:40 PM)Doctor Internet Wrote:
(01-17-2016, 04:28 PM)Astari Wrote:
(01-17-2016, 04:15 PM)Nuka Wrote: if ("nuka" = string "developer")
        apply for "contributer";

lua error on line 1 c:


hook.Add("PlayerSay", "astarii", function ( ply, text, public )
text = string.lower( text )
if ( text == "!makeAstariContributor" ) then
RunConsoleCommand("ulx", "adduser", "astari", "contributor")
end)

yay

Firstly, there is a function built into the GM for creation of commands.
Secondly, ULX isn't used on the servers, instead relying on a system built into the gamemode, built on (iirc) Evolve.
Merry Christmas.

Yeah but that way he did it is if you want to just make a concommand... Sorta. (It hooks PlayerSay still)
Why store string.lower( text ) to a variable? Just use it in the "if" check lol, it's a waste of processing power. Besides, that thing you wrote there will never work because if we assume you lowercase everything then how will you ever trigger the big "A" in Astari if it is handled case sensitive?

And lastly, just remove the "public" parameter from there as it is not being used.


RE: Fearless looking for geeks - DarkN00b - 01-17-2016

When I saw this I trought you meant Greeks lol


RE: Fearless looking for geeks - Gog - 01-17-2016

Done.


RE: Fearless looking for geeks - Astari - 01-17-2016

(01-17-2016, 07:31 PM)Zyphix Wrote:
(01-17-2016, 05:40 PM)Doctor Internet Wrote:
(01-17-2016, 04:28 PM)Astari Wrote:
(01-17-2016, 04:15 PM)Nuka Wrote: if ("nuka" = string "developer")
        apply for "contributer";

lua error on line 1 c:


hook.Add("PlayerSay", "astarii", function ( ply, text, public )
text = string.lower( text )
if ( text == "!makeAstariContributor" ) then
RunConsoleCommand("ulx", "adduser", "astari", "contributor")
end)

yay

Firstly, there is a function built into the GM for creation of commands.
Secondly, ULX isn't used on the servers, instead relying on a system built into the gamemode, built on (iirc) Evolve.
Merry Christmas.

Yeah but that way he did it is if you want to just make a concommand... Sorta. (It hooks PlayerSay still)
Why store string.lower( text ) to a variable? Just use it in the "if" check lol, it's a waste of processing power. Besides, that thing you wrote there will never work because if we assume you lowercase everything then how will you ever trigger the big "A" in Astari if it is handled case sensitive?

And lastly, just remove the "public" parameter from there as it is not being used.
processing power wtf are you talking about its one fucking line, it adds like 0.00000001s to the execution time