Posts: 2,009
Threads: 96
Likes Received: 883 in 434 posts
Likes Given: 587
Joined: May 2012
Reputation:
47
Country:
12-03-2013, 03:03 AM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
(12-02-2013, 07:15 PM)Hidayat Wrote: START TO LEARN NOW! http://maurits.tv/data/garrysmod/wiki/wi...x7a06.html
Quote: Quote:print("Hello world");
You're done! Wasn't that easy? It should have been.
[...] [...]
Quote:In cl_init.lua add
function set_team()
local frame = vgui.Create( "DFrame" )
frame:SetPos( ScrW() / 2, ScrH() / 2 ) --Set the window in the middle of the players screen/game window
frame:SetSize( 200, 210 ) --Set the size
frame:SetTitle( "Change Team" ) --Set title
frame:SetVisible( true )
frame:SetDraggable( false )
frame:ShowCloseButton( true )
frame:MakePopup()
team_1 = vgui.Create( "DButton", frame )
team_1:SetPos( frame:GetTall() / 2, 5 ) --Place it half way on the tall and 5 units in horizontal
team_1:SetSize( 50, 100 )
team_1:SetText( "Team 1" )
team_1.DoClick = function() --Make the player join team 1
RunConsoleCommand( "team_1" )
end
team_2 = vgui.Create( "DButton", frame )
team_2:SetPos( frame:GetTall() / 2, 105 ) --Place it next to our previous one
team_2:SetSize( 50, 100 )
team_2:SetText( "Team 2" )
team_2.DoClick = function() --Make the player join team 2
RunConsoleCommand( "team_2" )
end
end
concommand.Add( "team_menu", set_team )
Now we have made a simple VGUI window that can be used to change team.
I am fine, thanks.
Goes to show the type of Sh*t Temar has to deal with voluntarily. Serious props to you, Temar.
Posts: 4,787
Threads: 313
Likes Received: 3,309 in 1,540 posts
Likes Given: 2,435
Joined: Jun 2011
Reputation:
86
Country:
12-03-2013, 06:51 AM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
Oh my god, this thread... It saddens me to see that people can't follow simple instructions.
Posts: 2,638
Threads: 132
Likes Received: 1,657 in 721 posts
Likes Given: 1,599
Joined: Feb 2013
Reputation:
88
Country:
12-03-2013, 07:13 AM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
Making VGUIs is the easy part. It is linking the VGUIs up with things that makes it harder.
Posts: 7,111
Threads: 824
Likes Received: 10,536 in 2,255 posts
Likes Given: 648
Joined: Jun 2010
Reputation:
373
12-03-2013, 12:00 PM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
The following 14 users Like SoulRipper's post:
• Drawinqq, Floodify, Rylund, yarrrs, GeorgeTheBoy, Tandy, Theblackshadowofgod, Feffe, NotSep, Adamantite, Weecow, beflok, Pollux, Ciryl
Posts: 344
Threads: 19
Likes Received: 219 in 71 posts
Likes Given: 32
Joined: Oct 2011
Reputation:
28
12-03-2013, 04:42 PM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
I'd be happy to help for a few smallish jobs, unfortunately still don't have the time to dedicate to a full time developer position though.
The following 12 users Like Matt W's post:
• Nathan, GeorgeTheBoy, SoulRipper, Avalanchee, Floodify, Grub, HellShell, DoomDude1, Narc, Deriptz, Freezak, Pollux
Posts: 4,613
Threads: 190
Likes Received: 6,123 in 2,144 posts
Likes Given: 824
Joined: Oct 2011
12-03-2013, 04:52 PM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
(12-03-2013, 04:42 PM)Matt W Wrote: I'd be happy to help for a few smallish jobs, unfortunately still don't have the time to dedicate to a full time developer position though.
I don't think you've got what it takes.
Posts: 19
Threads: 7
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jul 2013
Reputation:
0
12-03-2013, 06:16 PM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
I would love to be a coder for this community, As I see over the time I have played on the server's that the admin's are good, friendly and alway's listen to the chat when ever some one need's help, I would like to get in the position to code for the server to make the community even better.
Regard's,
Adam Leonard (Captainz)
Posts: 2,638
Threads: 132
Likes Received: 1,657 in 721 posts
Likes Given: 1,599
Joined: Feb 2013
Reputation:
88
Country:
12-03-2013, 06:22 PM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
Captainz. Please PM soul. Only post here if you have questions or queries about this job.
Posts: 481
Threads: 83
Likes Received: 27 in 23 posts
Likes Given: 8
Joined: May 2012
12-03-2013, 06:42 PM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
(12-03-2013, 04:52 PM)Jan Wrote: I don't think you've got what it takes.
Do you know who Matt are ?
I hope you are ironic here <3
Posts: 3,200
Threads: 126
Likes Received: 1,277 in 378 posts
Likes Given: 911
Joined: Jul 2011
Reputation:
79
12-03-2013, 09:07 PM
(This post was last modified: 09-01-2022, 01:02 AM by Fearless Community.
Edit Reason: Checked Encoding
)
(12-03-2013, 04:42 PM)Matt W Wrote: I'd be happy to help for a few smallish jobs, unfortunately still don't have the time to dedicate to a full time developer position though.
 ...
[Image: grubsiggy.gif]
"A man must stand in the eyes of fear and march on to lead those who follow him to victory. Through these battles, a man will build himself a home, a place of refuge and happiness for those he cares about." - Grub
|