Forum




Roleplay MOD cs2D Admin problem
14 replies



http://unrealsoftware.de/files_show.php?file=5751
Einfach im Script. Meistens ist es ganz oben!
@EDIT wo muss ich das eingeben in ein script aber steht da ein text wie z.b. HERE USGN: oder so
Dateibeschreibung has written
Important:
Edit the groups.txt like it's written in there to make you admin or anything else.
Edit the groups.txt like it's written in there to make you admin or anything else.
1
[code][/ code] (Ohne Leertaste zwischen "/" und "code")

Dein Text im "code has written
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
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
//Add groups like this: (no //)
//group:groupname:color:rights
//Colors:
//http://gucky.uni-muenster.de/cgi-bin/rgbtab
//Rights:
//a - Arrest players
//b - Ban
//c - Allow to join CT
//d - Spawn on the place you died
//f - Use of buildings(color, level)
//g - Use the CT menu
//h - Set health
//i - Slay
//k - Kick
//l - Give Licenses
//m - Mute
//o - Speed, item, bring and goto commands
//p - Give speed
//s - Restart round/map, reload cfg and edit the map_name_auto.txt
//t - Use F4 for Wallhack(only as CT)
//v - Add vips
//w - Use of "Admin" Weapons
//x - Be unkillable
//y - Use the !givemoney command
//z - Root(all)
//Add Players to groups like this: (no //)
//add:admins:(no //)
Naja, das ist (Glaube ich) garnicht mehr LUA, sondern C++.
Weil (Was in LUA "--") diese "//" heißen in C++ "Kommentar" also werden nicht mitgelesen.
Probier das mal aus:
1
2
2
group:Server-Admin:255000000:z
add:Server-Admin:60040
also oben:
1
GRUPPE:GRUPPENNAME:GRUPPENFARBE:COMMANDS
und dann add:
1
GRUPPENNAME:DEINEUSGN
also commands= abcdef oder so welche commands die gruppe usen darf!

@

Das hat rein garnichts mit C++ zu tun, natürlich gibt es da auch das Kommentareinleitende Zeichen "//".




