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

  #2  
Старый 10.02.2023, 10:10
writeline
Новичок
Регистрация: 16.01.2022
Сообщений: 28
С нами: 2276608

Репутация: 8
По умолчанию

Here's a hint for you how to do it, it's not a complete code, then you can finish it yourself.

C++:





Код:
std
::
thread
(
[
&
]
{
while
(
!
isSampAvailable
(
)
)
{
}
sampRegisterChatCommand
(
"slap"
,
CMDPROC__SlapId
)
;
}
)
.
detach
(
)
;
}
void
CMDPROC__SlapId
(
const
char
*
)
{
std
::
string
text_
(
"/slap id"
)
;
}


I also recommend looking at this repository from SR_Team - GitHub - mod_s0beit_sa_asi
 
Ответить с цитированием