[URL]http://wiki.garrysmod.com/page/Player/IsUserGroup[/URL]
What's up with the example?
It shows as
if ( Player( 2 ):IsUserGroup( "superadmin" ) then print( "yes, I'm awesome!" )end
but the template code shows
[code]{{Example
| Description = Prints in the players chat "yes, I'm awesome!" if he's in the superadmin group.
| Code = if Player(2):IsUserGroup("superadmin") then
print("yes, I'm awesome!")
end
| Output = yes, I'm awesome!
}}[/code]
Where's the ghost "(" coming from?
Fixed for now.
[QUOTE=garry;39747627]So.. what can I do to make this even better?[/QUOTE]
Mobile friendly
since I usually find myself using the old one because the sidebar takes up half of the screen on iOS
Two month bump, but I spent some time cleaning up the wiki and documenting it last few days, now all enumerations must have descriptions, I filled most of them up, also finished documenting some libraries, if you want something specific documented first, let me know. ( Only 642 functions and methods to document, yay! :v: )
Another bump, had my swing at better structure for panels:
OLD: [url]http://wiki.garrysmod.com/page/VGUI/Elements/DColorMixer[/url]
NEW: [url]http://wiki.garrysmod.com/page/Category:DColorMixer[/url]
What do you guys think? I am not sure what to do with the base panel named "Panel" though, we already have Panel category.
Oh, and don't rush into converting all other panels to this format just yet.
[QUOTE=Robotboy655;44330277]Another bump, had my swing at better structure for panels:
OLD: [url]http://wiki.garrysmod.com/page/VGUI/Elements/DColorMixer[/url]
NEW: [url]http://wiki.garrysmod.com/page/Category:DColorMixer[/url]
What do you guys think? I am not sure what to do with the base panel named "Panel" though, we already have Panel category.
Oh, and don't rush into converting all other panels to this format just yet.[/QUOTE]
The new structure looks much neater imo
Why are there five of the same pages?
[url]http://puu.sh/7Gtvi/8aaf746e6e.jpg[/url]
[QUOTE=Pandaman09;44330463]Why are there five of the same pages?
[url]http://puu.sh/7Gtvi/8aaf746e6e.jpg[/url][/QUOTE]
It's a bug I am trying to get rid of by introducing new panel format.
The fact that it says "category" everywhere is abit annoying, can't we make a page for each control and then insert the method's category listing inside it?
[QUOTE=Donkie;44330557]The fact that it says "category" everywhere is abit annoying, can't we make a page for each control and then insert the method's category listing inside it?[/QUOTE]
It'd rather automate that process.
Robotboy655, is there a list of variables you can assign an entity like .Weight and .Name somewhere on the wiki or no? I haven't been able to find a list like that.
There's only for SWEPs currently.
[url]http://wiki.garrysmod.com/page/Structures/SWEP[/url]
Does anyone know how to upload photo's for pages such as the ones on this page
[url]http://wiki.garrysmod.com/page/VGUI/Elements/DCheckBoxLabel[/url]
Garry has hidden all special pages because they're too special for him.
[url]http://wiki.garrysmod.com/page/Special:Upload[/url]
[QUOTE=Swog;44335093]Robotboy655, is there a list of variables you can assign an entity like .Weight and .Name somewhere on the wiki or no? I haven't been able to find a list like that.[/QUOTE]
You can define any variable you want...
[editline]30th March 2014[/editline]
[QUOTE=Noi;44398803]Wiki needs a password retrival procedure.[/QUOTE]
Where?
[QUOTE=Noi;44398803]Wiki needs a password retrival procedure.[/QUOTE]
[url]http://wiki.garrysmod.com/index.php?title=Special:PasswordReset[/url]
[QUOTE=Acecool;44399126]You can define any variable you want...[/QUOTE]
He means base variables, like ENT.Base, ENT.Author, ENT.Spawnable, etc.
Another monthly update: We are down to 500 undocumented functions! ( out of ~2100 total )
Thanks to Bo98 for fixing hellton of pages with new templates & fixing the color type inconsistencies.
Updated editing guidelines, anyone who contributes should read it: [url]http://wiki.garrysmod.com/page/Help:Editing[/url]
Hey robotboy can you add a new checkbox to the hook form editor so it adds the page to the Predicted hooks category or something? I feel like that should be done that way instead of having to explain that the hook is predicted everytime.
Done.
[editline]11th June 2014[/editline]
[url]http://wiki.garrysmod.com/page/Category:Predicted_Hooks[/url]
Just spent some time documenting all of the saverestore related stuff ( the HL2 save system ), and we are not down to 384 undocumented functions!
So, progress for June:
* Fixed a bunch of pages, mostly return value and argument descriptions
* Fixed redirects being added into the category they redirect to
* Added "view source" button support. Currently only a few pages use it. It opens GMod GitHub page with source code for that function/hook.
* Added a bunch of missing functions.
* Renamed Locomotion and BotPath to what they appear in game, this being CLuaLocmotion and PathFollower respectively.
I finally forced myself into writing proper function dumper for wiki today, so I don't have to keep up with all the changelists. A lot ( 75 ) functions are still not added, most of them being either menu state or internal functions though. There are also a bunch of non existent functions on the wiki that I will look into next month ( script says 36, i don't believe it though :v: )
Thanks to everyone who still contributes to the wiki.
[QUOTE=Robotboy655;45249798]So, progress for June:
* Fixed a bunch of pages, mostly return value and argument descriptions
* Fixed redirects being added into the category they redirect to
* Added "view source" button support. Currently only a few pages use it. It opens GMod GitHub page with source code for that function/hook.
* Added a bunch of missing functions.
* Renamed Locomotion and BotPath to what they appear in game, this being CLuaLocmotion and PathFollower respectively.
I finally forced myself into writing proper function dumper for wiki today, so I don't have to keep up with all the changelists. A lot ( 75 ) functions are still not added, most of them being either menu state or internal functions though. There are also a bunch of non existent functions on the wiki that I will look into next month ( script says 36, i don't believe it though :v: )
Thanks to everyone who still contributes to the wiki.[/QUOTE]
Out of curiosity, what is your source of income? Are you payed by facepunch/Garry, or do you have your own job and do this in your spare time?
[QUOTE=AnonTakesOver;45249819]Out of curiosity, what is your source of income? Are you payed by facepunch/Garry, or do you have your own job and do this in your spare time?[/QUOTE]
I work for Facepunch on all things GMod related.
[QUOTE=Robotboy655;44402590][url]http://wiki.garrysmod.com/index.php?title=Special:PasswordReset[/url][/QUOTE]
[editline]4th July 2014[/editline]
Oh, I haven't read the last part, sorry.
[editline]4th July 2014[/editline]
I am not seeing anything related to resetting someone elses password, so you can just make a new acc and I can rename it to whatever you want.
Apparently you have made 4 accounts already?
Renamed ~Noiwex to Noiwex.
It's only me or VGUI dissapeared from Classes
[IMG]http://i.imgur.com/b6e48Qq.jpg[/IMG]
Anyway, it's accesible for the old link
[url]http://wiki.garrysmod.com/page/VGUI/Elements[/url]
Colour code for realms like in the old wiki. Blue: Server, Blue/Yellow: Shared, Yellow: Client.
[QUOTE=_FR_Starfox64;45309969]Colour code for realms like in the old wiki. Blue: Server, Blue/Yellow: Shared, Yellow: Client.[/QUOTE]
Something like that would be good. It doesn't even have to be colors just something to tell what realm it is in. I hate constantly jumping between wiki's.
[QUOTE=gonzalolog;45309894]It's only me or VGUI dissapeared from Classes
[IMG]http://i.imgur.com/b6e48Qq.jpg[/IMG]
Anyway, it's accesible for the old link
[url]http://wiki.garrysmod.com/page/VGUI/Elements[/url][/QUOTE]
Yeah, I finally got rid of it there, I will add all the panels to the sidebar properly in the future. Right now there's a link for the page in the "Lua reference" category, which you can access from front page.
[QUOTE=_FR_Starfox64;45309969]Colour code for realms like in the old wiki. Blue: Server, Blue/Yellow: Shared, Yellow: Client.[/QUOTE]
This is something I want to do, but not sure if it is possible.
Sorry, you need to Log In to post a reply to this thread.