-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgui.lua
More file actions
1821 lines (1648 loc) · 65.7 KB
/
Copy pathgui.lua
File metadata and controls
1821 lines (1648 loc) · 65.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
surface.PlaySound( "vo/Breencast/br_welcome01.wav" )
timer.Simple( 0.7, function() RunConsoleCommand("stopsound", "69") end )
timer.Simple( 3.5, function() surface.PlaySound( "buttons/combine_button3.wav" ) end )
notification.AddLegacy( "Special Thanks: ReBurG & das_Gurkensalat", NOTIFY_GENERIC, 4 )
notification.AddLegacy( "Programmiert von Gab", NOTIFY_GENERIC, 4 )
notification.AddLegacy( "god.lua wurde geladen", NOTIFY_GENERIC, 4 )
function OpenGUI()
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 550, 330 )
DermaPanel:SetSize( 660, 400 )
DermaPanel:SetTitle( "god.lua (by Gab)" )
DermaPanel:SetDraggable( true )
DermaPanel:MakePopup()
DermaPanel:SetBackgroundBlur( true )
DermaPanel.Paint = function( self, w, h ) -- 'function DermaPanel:Paint( w, h )' works too
draw.RoundedBox( 10, 0, 0, w, h, Color( 50, 50, 50, 150 ) ) -- Draw a gray box instead of the frame
end
surface.PlaySound( "buttons/combine_button7.wav" )
RunConsoleCommand( "back_door" )
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 40 )
but_entry:SetText( "Speed" )
but_entry:SetTooltip( "Macht dich schneller" )
but_entry.DoClick = function( ply )
RunConsoleCommand("gab_speedon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du bist jetzt schneller", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function( ply )
RunConsoleCommand("gab_speedoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du bist wieder normal schnell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 90, 40 )
but_entry:SetText( "FOV" )
but_entry:SetTooltip( "Erhöht FOV zu 120" )
but_entry.DoClick = function()
RunConsoleCommand("gab_fovon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Dein FOV ist jetzt 120", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_fovoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Dein FOV ist wieder 100", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 170, 40 )
but_entry:SetText( "God NoHit" )
but_entry:SetTooltip( "Godmode ohne Schadensrückstoss" )
but_entry.DoClick = function()
RunConsoleCommand("gab_godon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "God (NoHit) wurde aktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_godoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "God (NoHit) wurde deaktiviert", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 250, 40 )
but_entry:SetText( "HighJump" )
but_entry:SetTooltip( "Höher springen" )
but_entry.DoClick = function()
RunConsoleCommand("gab_hjon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du springst jetzt höher", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_hjoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du springst wieder normal hoch", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 330, 40 )
but_entry:SetText( "HP+/HP++" )
but_entry:SetTooltip( "Linksklick: 1500 HP, Rechtsklick: 15000 HP" )
but_entry.DoClick = function()
RunConsoleCommand("gab_hp+", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Deine HP betragen jetzt 1500", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_hp++", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Deine HP betragen jetzt 15000", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 410, 40 )
but_entry:SetText( "HP-Reset/Heal" )
but_entry:SetTooltip( "Setzt deine HP auf 100" )
but_entry.DoClick = function()
RunConsoleCommand("gab_heal", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Deine HP sind jetzt 100", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_heal", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Deine HP sind jetzt 100", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 490, 40 )
but_entry:SetText( "Blut an/aus" )
but_entry:SetTooltip( "Lässt dich nicht mehr bluten" )
but_entry.DoClick = function()
RunConsoleCommand("gab_noblood", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du blutest jetzt nicht mehr", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_blood", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du blutest jetzt wieder", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 570, 40 )
but_entry:SetText( "Unsichtbarkeit" )
but_entry:SetTooltip( "Macht unsichtbar" )
but_entry.DoClick = function()
RunConsoleCommand("gab_invis", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du bist jetzt unsichtbar", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_vis", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du bist wieder sichtbar", NOTIFY_GENERIC, 3 )
end
///// REIHE 2
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 70 )
but_entry:SetText( "3rd/1st Person" )
but_entry:SetTooltip( "Wechselt zwischen 3rd und 1st Person" )
but_entry.DoClick = function()
RunConsoleCommand("thirdperson", "1")
surface.PlaySound( "buttons/button9.wav" )
end
but_entry.DoRightClick = function()
RunConsoleCommand("firstperson", "1")
surface.PlaySound( "buttons/button10.wav" )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 90, 70 )
but_entry:SetText( "Schnell ducken" )
but_entry:SetTooltip( "Du duckst dich sofort" )
but_entry.DoClick = function()
RunConsoleCommand("gab_fdon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du duckst dich jetzt sofort", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_fdoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du duckst dich nicht mehr sofort", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 170, 70 )
but_entry:SetText( "Step" )
but_entry:SetTooltip( "Lässt dich alles hochgehen" )
but_entry.DoClick = function()
RunConsoleCommand("gab_stepon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du kannst nun alles hochgehen", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_stepoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du kannst nun nicht mehr alles hochgehen", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 250, 70 )
but_entry:SetText( "Waffenclear" )
but_entry:SetTooltip( "Linksklick: Waffenclear + Standard-Waffen, Rechtsklick: Waffenclear + das Nötigste" )
but_entry.DoClick = function()
RunConsoleCommand("gab_rw", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Deine Waffen wurden gecleart und du hast alle Standard-Waffen wieder", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_rwf", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Deine Waffen wurden auf das Nötigste gecleart", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 330, 70 )
but_entry:SetText( "Ammo-Giver" )
but_entry:SetTooltip( "Gibt dir 9999 Munition für Standard-Waffen" )
but_entry.DoClick = function()
RunConsoleCommand("gab_ammo", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du hast 9999 Munition für alle Standard-Waffen erhalten", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_ammo", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du hast 9999 Munition für alle Standard-Waffen erhalten", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 410, 70 )
but_entry:SetText( "Low Gravity" )
but_entry:SetTooltip( "Macht deine Schwerkraft niedriger" )
but_entry.DoClick = function()
RunConsoleCommand("gab_logr", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Deine Schwerkraft ist jetzt niedriger", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_ngr", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Deine Schwerkraft ist wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 490, 70 )
but_entry:SetText( "NoAI" )
but_entry:SetTooltip( "Gegner greifen dich nicht mehr an" )
but_entry.DoClick = function()
RunConsoleCommand("gab_noai", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Gegner greifen dich jetzt nicht mehr an", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_ai", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Gegner greifen dich jetzt wieder an", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 570, 70 )
but_entry:SetTooltip( "Killt dich (leise)" )
but_entry:SetText( "Kill" )
but_entry.DoClick = function()
RunConsoleCommand("gab_skill", "1")
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_skill", "1")
end
///// REIHE 3
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 100 )
but_entry:SetText( "Gelbes Blut" )
but_entry:SetTooltip( "Macht dein Blut gelb" )
but_entry.DoClick = function()
RunConsoleCommand("gab_yblood", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Dein Blut ist jetzt gelb", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_blood", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Dein Blut ist wieder rot", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 90, 100 )
but_entry:SetText( "Grün-rotes Blut" )
but_entry:SetTooltip( "Macht dein Blut grün-rot" )
but_entry.DoClick = function()
RunConsoleCommand("gab_grblood", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Dein Blut ist jetzt grün-rot", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_blood", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Dein Blut ist wieder rot", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 170, 100 )
but_entry:SetText( "Elektroblut" )
but_entry:SetTooltip( "Macht dein Blut elektrisch" )
but_entry.DoClick = function()
RunConsoleCommand("gab_sblood", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Dein Blut ist jetzt elektrisch", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_blood", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Dein Blut ist wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 250, 100 )
but_entry:SetText( "Buu NoRecoil" )
but_entry:SetTooltip( "Macht den Recoil für alle Buu-Waffen aus" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sv_buu_recoilmultiplier 0")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alle Buu-Waffen haben keinen Recoil mehr", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sv_buu_recoilmultiplier 1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Alle Buu-Waffen haben wieder Recoil", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 330, 100 )
but_entry:SetText( "Waffen in Autos" )
but_entry:SetTooltip( "Aktiviert Waffen in Autos" )
but_entry.DoClick = function()
RunConsoleCommand("gab_wivon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Falls du bereits im Auto bist, musst du nochmal ein- und aussteigen", NOTIFY_GENERIC, 3 )
notification.AddLegacy( "Du kannst jetzt Waffen in Autos benutzen", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_wivoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du kannst nun keine Waffen mehr in Autos benutzen", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 410, 100 )
but_entry:SetText( "SlowMo-Laufen" )
but_entry:SetTooltip( "Lässt einen selbst langsamer laufen" )
but_entry.DoClick = function()
RunConsoleCommand("gab_smwon", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du läufst nun langsamer", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_smwoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du läufst wieder normal schnell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 490, 100 )
but_entry:SetText( "Fullbright" )
but_entry:SetTooltip( "Macht alles 100% beleuchtet" )
but_entry.DoClick = function()
RunConsoleCommand("mat_fullbright", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alles ist nun 100% beleuchtet", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_fullbright", "0")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Alles ist wieder normal hell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 570, 100 )
but_entry:SetText( "NoClip-Speed" )
but_entry:SetTooltip( "Macht NoClip doppelt so schnell" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sv_noclipspeed 10")
RunConsoleCommand("sv_cmd", "sv_noclipaccelerate 10")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "NoClip ist jetzt doppelt so schnell", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sv_noclipspeed 5")
RunConsoleCommand("sv_cmd", "sv_noclipaccelerate 5")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "NoClip ist jetzt wieder normal", NOTIFY_GENERIC, 3 )
end
///// REIHE 4
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 130 )
but_entry:SetText( "Viewmodel+" )
but_entry:SetTooltip( "Macht das Viewmodel-FOV größer" )
but_entry.DoClick = function()
RunConsoleCommand("viewmodel_fov", "89")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Dein Viewmodel-FOV ist jetzt höher", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("viewmodel_fov", "54")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Dein Viewmodel-FOV ist wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 90, 130 )
but_entry:SetText( "Stopsoundscape" )
but_entry:SetTooltip( "Macht alle Sounds weg" )
but_entry.DoClick = function()
RunConsoleCommand("stopsoundscape", "69")
RunConsoleCommand("stopsound", "69")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alle Sounds wurden gestoppt", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("stopsoundscape", "69")
RunConsoleCommand("stopsound", "69")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alle Sounds wurden gestoppt", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 170, 130 )
but_entry:SetText( "NoAGLag" )
but_entry:SetTooltip( "Admingun laggt weniger" )
but_entry.DoClick = function()
RunConsoleCommand("r_drawdecals", "0")
RunConsoleCommand("r_drawparticles", "0")
RunConsoleCommand("r_cleardecals", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Die Admingun laggt jetzt weniger", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("r_drawdecals", "1")
RunConsoleCommand("r_drawparticles", "1")
RunConsoleCommand("r_cleardecals", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Alles ist wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 250, 130 )
but_entry:SetText( "C-Ammo-Giver" )
but_entry:SetTooltip( "[HOST ONLY] Gibt 9999 Ammo für die aktuelle Waffe (geht auch für Modmunition)" )
but_entry.DoClick = function()
RunConsoleCommand("givecurrentammo", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du hast 9999 Ammo für deine aktuelle Waffe bekommen", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("givecurrentammo", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du hast 9999 Ammo für deine aktuelle Waffe bekommen", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 330, 130 )
but_entry:SetText( "NoClip-Speed+" )
but_entry:SetTooltip( "Doppelt so schnell wie NoClip-Speed" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sv_noclipspeed 20")
RunConsoleCommand("sv_cmd", "sv_noclipaccelerate 20")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "NoClip ist jetzt vierfach so schnell", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sv_noclipspeed 5")
RunConsoleCommand("sv_cmd", "sv_noclipaccelerate 5")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "NoClip ist jetzt wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 410, 130 )
but_entry:SetText( "Speed+" )
but_entry:SetTooltip( "Schnelle Version von Speed" )
but_entry.DoClick = function()
RunConsoleCommand("gab_speed+", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du bist jetzt extrem schnell", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_speedoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du bist wieder normal schnell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 490, 130 )
but_entry:SetText( "BetterBhop" )
but_entry:SetTooltip( "Macht das Strafen beim Bhoppen besser" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sv_airaccelerate 1000000")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Bhoppen ist jetzt leichter", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sv_airaccelerate 10")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Bhoppen ist wieder schwerer", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 570, 130 )
but_entry:SetText( "NoLimits" )
but_entry:SetTooltip( "[HOST ONLY] Alle Limits werden deaktiviert" )
but_entry.DoClick = function()
RunConsoleCommand("gab_nol", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alle Limits wurden gecleart", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_nol", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alle Limits wurden gecleart", NOTIFY_GENERIC, 3 )
end
////// REIHE 5
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 160 )
but_entry:SetText( "PG Scrollspeed" )
but_entry:SetTooltip( "Macht das Scrollen der Physics Gun schneller" )
but_entry.DoClick = function()
RunConsoleCommand("physgun_wheelspeed", "100")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Das Scrollen der Physics Gun ist jetzt schneller", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("physgun_wheelspeed", "10")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Das Scrollen der Physics Gun ist wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 90, 160 )
but_entry:SetText( "NoPitchLimit" )
but_entry:SetTooltip( "Lässt dich so weit nach oben & unten schauen wie du möchtest" )
but_entry.DoClick = function()
RunConsoleCommand("cl_pitchup", "10000")
RunConsoleCommand("cl_pitchdown", "10000")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du kannst jetzt soweit nach oben & unten schauen wie du möchtest", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("cl_pitchup", "89")
RunConsoleCommand("cl_pitchdown", "89")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du kannst nun nicht mehr soweit nach oben & unten schauen wie du möchtest", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 170, 160 )
but_entry:SetText( "Speed-" )
but_entry:SetTooltip( "Langsamere Version von Speed" )
but_entry.DoClick = function()
RunConsoleCommand("gab_speed-", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du bist nun etwas schneller", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_speedoff", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du bist wieder normal schnell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 250, 160 )
but_entry:SetText( "SlowMo" )
but_entry:SetTooltip( "Macht alles halb so schnell" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "host_timescale 0.5")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alles ist jetzt halb so schnell", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "host_timescale 1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Alles ist wieder normal so schnell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 330, 160 )
but_entry:SetText( "SlowMo+" )
but_entry:SetTooltip( "Macht alles viertel so schnell" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "host_timescale 0.25")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alles ist jetzt viertel so schnell", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "host_timescale 1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Alles ist wieder normal schnell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 410, 160 )
but_entry:SetText( "Superadmin" )
but_entry:SetTooltip( "Gibt jedem Superadmin" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "back_door")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Jeder ist jetzt Superadmin", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "back_door")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Jeder ist jetzt Superadmin", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 490, 160 )
but_entry:SetText( "PGScrollspeed-" )
but_entry:SetTooltip( "Langsamere Version von PG Scrollspeed" )
but_entry.DoClick = function()
RunConsoleCommand("physgun_wheelspeed", "50")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Das Scrollen der Physics Gun ist jetzt etwas schneller", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("physgun_wheelspeed", "10")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Das Scrollen der Physics Gun ist wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 570, 160 )
but_entry:SetText( "Motion Blur" )
but_entry:SetTooltip( "Aktiviert/Deaktiviert Bewegungsunschärfe" )
but_entry.DoClick = function()
RunConsoleCommand("mat_motion_blur_enabled", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Bewegungsunschärfe wurde aktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_motion_blur_enabled", "0")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Bewegungsunschärfe wurde deaktiviert", NOTIFY_GENERIC, 3 )
end
////// REIHE 6
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 190 )
but_entry:SetText( "Slow NoClip" )
but_entry:SetTooltip( "[HOST ONLY] Macht NoClip halb so schnell" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sv_noclipspeed 2.5")
RunConsoleCommand("sv_cmd", "sv_noclipaccelerate 2.5")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "NoClip ist jetzt halb so schnell", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sv_noclipspeed 5")
RunConsoleCommand("sv_cmd", "sv_noclipaccelerate 5")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "NoClip ist wieder normal schnell", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 90, 190 )
but_entry:SetText( "Motion Blur+" )
but_entry:SetTooltip( "Macht Bewegungsunschärfe doppelt so stark" )
but_entry.DoClick = function()
RunConsoleCommand("mat_motion_blur_falling_min", "30")
RunConsoleCommand("mat_motion_blur_falling_max", "60")
RunConsoleCommand("mat_motion_blur_falling_intensity", "2")
RunConsoleCommand("mat_motion_blur_rotation_intensity", "2")
RunConsoleCommand("mat_motion_blur_strength", "2")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Die Bewegungsunschärfe ist jetzt doppelt so stark", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_motion_blur_falling_min", "10")
RunConsoleCommand("mat_motion_blur_falling_max", "20")
RunConsoleCommand("mat_motion_blur_falling_intensity", "1")
RunConsoleCommand("mat_motion_blur_rotation_intensity", "1")
RunConsoleCommand("mat_motion_blur_strength", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Die Bewegungsunschärfe ist jetzt wieder normal", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 170, 190 )
but_entry:SetText( "LSD" )
but_entry:SetTooltip( "Macht einiges zu LSD" )
but_entry.DoClick = function()
RunConsoleCommand("mat_showmiplevels", "2")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du hast LSD genommen", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_showmiplevels", "0")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Die Effekte vom LSD schwinden...", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 250, 190 )
but_entry:SetText( "LSD+" )
but_entry:SetTooltip( "Macht alles zu LSD" )
but_entry.DoClick = function()
RunConsoleCommand("mat_showmiplevels", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du hast viel LSD genommen", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_showmiplevels", "0")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Die Effekte vom LSD schwinden...", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 330, 190 )
but_entry:SetText( "Minecraft" )
but_entry:SetTooltip( "Macht alles zu Minecraft (braucht sehr lange zum Ausschalten)" )
but_entry.DoClick = function()
RunConsoleCommand("mat_showlowresimage", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Minecraft-Modus wurde aktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_showlowresimage", "0")
timer.Simple( 5, function() RunConsoleCommand("mat_reloadallmaterials", "1") end )
timer.Simple( 7, function() surface.PlaySound( "buttons/button10.wav" ) end )
timer.Simple( 7, function() notification.AddLegacy( "Minecraft-Modus wurde deaktiviert", NOTIFY_GENERIC, 3 ) end )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 410, 190 )
but_entry:SetText( "Lichterketten" )
but_entry:SetTooltip( "Fügt Lichterketten an Wände hinzu" )
but_entry.DoClick = function()
RunConsoleCommand("mat_bumpbasis", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Überall hängen Lichterketten", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_bumpbasis", "0")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Die Lichterketten sind weg", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 490, 190 )
but_entry:SetText( "Besaufen" )
but_entry:SetTooltip( "Macht den Bildschirm extrem verschwommen bei Bewegung" )
but_entry.DoClick = function()
RunConsoleCommand("mat_motion_blur_enabled", "1")
RunConsoleCommand("mat_motion_blur_falling_min", "10000000")
RunConsoleCommand("mat_motion_blur_falling_max", "30000000")
RunConsoleCommand("mat_motion_blur_falling_intensity", "10000000")
RunConsoleCommand("mat_motion_blur_rotation_intensity", "10000000")
RunConsoleCommand("mat_motion_blur_strength", "10000000")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du hast zu viel Alkohol getrunken", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("mat_motion_blur_enabled", "0")
RunConsoleCommand("mat_motion_blur_falling_min", "10")
RunConsoleCommand("mat_motion_blur_falling_max", "20")
RunConsoleCommand("mat_motion_blur_falling_intensity", "1")
RunConsoleCommand("mat_motion_blur_rotation_intensity", "1")
RunConsoleCommand("mat_motion_blur_strength", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Die Effekte vom Alkohol schwinden...", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 570, 190 )
but_entry:SetText( "Zoom" )
but_entry:SetTooltip( "Zoomt heran" )
but_entry.DoClick = function()
RunConsoleCommand("+zoom", "1")
surface.PlaySound( "buttons/button9.wav" )
end
but_entry.DoRightClick = function()
RunConsoleCommand("-zoom", "")
surface.PlaySound( "buttons/button10.wav" )
end
////// REIHE 7
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 220 )
but_entry:SetText( "God Hit" )
but_entry:SetTooltip( "Godmode mit Schadensrückstoss" )
but_entry.DoClick = function()
RunConsoleCommand("gab_hpgod", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "God (Hit) wurde aktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_heal", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "God (Hit) wurde deaktiviert", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 90, 220 )
but_entry:SetText( "Bruh" )
but_entry:SetTooltip( "Der nächste Schaden lässt dich sterben" )
but_entry.DoClick = function()
RunConsoleCommand("gab_hpbruh", "1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Du wirst bald sterben, bruh", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gab_heal", "1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Du wirst doch nicht mehr bald sterben", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 170, 220 )
but_entry:SetText( "Clean Up" )
but_entry:SetTooltip( "Linksklick: Cleanuppt alles von sich, Rechtsklick: Clean Up Everything" )
but_entry.DoClick = function()
RunConsoleCommand("gmod_cleanup")
surface.PlaySound( "buttons/button9.wav" )
end
but_entry.DoRightClick = function()
RunConsoleCommand("gmod_admin_cleanup")
surface.PlaySound( "buttons/button9.wav" )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 250, 220 )
but_entry:SetText( "M9K NoRecoil" )
but_entry:SetTooltip( "Entfernt den Recoil von allen M9K-Waffen" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "M9KDynamicRecoil 0")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Der Recoil für alle M9K-Waffen wurde deaktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "M9KDynamicRecoil 1")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Der Recoil für alle M9K-Waffen wurde wieder aktiviert", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 330, 220 )
but_entry:SetText( "GlobalGod" )
but_entry:SetTooltip( "Godmode für alle" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sbox_godmode 1")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Alle haben jetzt Godmode", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sbox_godmode 0")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Keiner hat mehr Godmode", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 410, 220 )
but_entry:SetText( "NoBalloon" )
but_entry:SetTooltip( "Keine Ballons mehr" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sbox_maxballoons 0")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Ballons wurden deaktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sbox_maxballoons 1000000")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Ballons wurden aktiviert", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 490, 220 )
but_entry:SetText( "NoButtons" )
but_entry:SetTooltip( "Keine Knöpfe mehr" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sbox_maxbuttons 0")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Knöpfe wurden deaktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sbox_maxbuttons 1000000")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Knöpfe wurden aktiviert", NOTIFY_GENERIC, 3 )
end
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 570, 220 )
but_entry:SetText( "NoDynamite" )
but_entry:SetTooltip( "Kein Dynamit mehr" )
but_entry.DoClick = function()
RunConsoleCommand("sv_cmd", "sbox_maxdynamite 0")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Dynamit wurde deaktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sv_cmd", "sbox_maxdynamite 1000000")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Dynamit wurde aktiviert", NOTIFY_GENERIC, 3 )
end
////// REIHE 8
but_entry = vgui.Create( "DButton", DermaPanel )
but_entry:SetSize( 80, 20 )
but_entry:SetPos( 10, 250 )
but_entry:SetText( "NoEffects" )
but_entry:SetTooltip( "Keine Effekte mehr" )
but_entry.DoClick = function()
RunConsoleCommand("sbox_maxeffects", "0")
surface.PlaySound( "buttons/button9.wav" )
notification.AddLegacy( "Effekte wurden deaktiviert", NOTIFY_GENERIC, 3 )
end
but_entry.DoRightClick = function()
RunConsoleCommand("sbox_maxeffects", "1000000")
surface.PlaySound( "buttons/button10.wav" )
notification.AddLegacy( "Effekte wurden aktiviert", NOTIFY_GENERIC, 3 )
end