Xonotic
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerator
i
m
o
p
r
s
t
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
dialog_uid2name.qc
Go to the documentation of this file.
1
#include "
dialog_uid2name.qh
"
2
3
#include "
textlabel.qh
"
4
#include "
commandbutton.qh
"
5
6
void
XonoticUid2NameDialog_fill
(
entity
me)
7
{
8
entity
e;
9
me.TR(me);
10
me.TD(me, 1, 2,
makeXonoticTextLabel
(0.5, _(
"Allow player statistics to use your nickname?"
)));
11
me.TR(me);
12
me.TD(me, 1, 2,
makeXonoticTextLabel
(0.5, _(
"Answering \"No\" you will appear as \"Anonymous player\""
)));
13
me.TR(me);
14
me.TR(me);
15
me.TD(me, 1, 1, e =
makeXonoticCommandButton
(_(
"Yes"
),
'0 0 0'
,
"vyes; setreport cl_allow_uid2name 1"
,
COMMANDBUTTON_CLOSE
));
16
e.preferredFocusPriority = 1;
17
me.TD(me, 1, 1, e =
makeXonoticCommandButton
(_(
"No"
),
'0 0 0'
,
"vno; setreport cl_allow_uid2name 0"
,
COMMANDBUTTON_CLOSE
));
18
}
XonoticUid2NameDialog_fill
void XonoticUid2NameDialog_fill(entity me)
Definition:
dialog_uid2name.qc:6
entity
entity() spawn
makeXonoticTextLabel
entity makeXonoticTextLabel(float theAlign, string theText)
Definition:
textlabel.qc:3
dialog_uid2name.qh
COMMANDBUTTON_CLOSE
#define COMMANDBUTTON_CLOSE
Definition:
commandbutton.qh:14
textlabel.qh
makeXonoticCommandButton
entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags)
Definition:
commandbutton.qc:10
commandbutton.qh
menu
xonotic
dialog_uid2name.qc
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13