Показать сообщение отдельно

  #2  
Старый 23.02.2021, 03:50
SR_team
Флудер
Регистрация: 26.10.2013
Сообщений: 4,924
С нами: 6603505

Репутация: 183


По умолчанию

Хидер:





Код:
// в классе FogDist
SAMP
::
Input
::
CommandEx

cmd
{
"fogdist"
}
;
void
command
(
float
d
)
;
void
command
(
SAMP
::
Input
::
CmdFail fail
,
size_t
/* unused */
)
;


Сурс:





Код:
cmd
.
install
(
this
,
&
FogDist
::
command
)
;
cmd
.
redirectFail
(
this
,
&
FogDist
::
command
)
;
// ...
void
FogDist
::
command
(
float
d
)
{
// ...
}
void
FogDist
::
command
(
SAMP
::
Input
::
CmdFail fail
,
size_t
)
{
// ...
}
 
Ответить с цитированием