59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
{
return guns[gun].attackdelay;
}
void
weapon(OFString *a1, OFString *a2, OFString *a3)
{
selectgun((a1.length > 0 ? (int)a1.longLongValue : -1),
(a2.length > 0 ? (int)a2.longLongValue : -1),
(a3.length > 0 ? (int)a3.longLongValue : -1));
}
COMMAND(weapon, ARG_3STR)
void
createrays(OFVector3D &from,
OFVector3D &to) // create random spread of rays for the shotgun
{
|
|
|
|
|
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
{
return guns[gun].attackdelay;
}
void
weapon(OFString *a1, OFString *a2, OFString *a3)
{
selectgun((a1.length > 0 ? a1.intValue : -1),
(a2.length > 0 ? a2.intValue : -1),
(a3.length > 0 ? a3.intValue : -1));
}
COMMAND(weapon, ARG_3STR)
void
createrays(OFVector3D &from,
OFVector3D &to) // create random spread of rays for the shotgun
{
|