Пользователь
- Сообщения
- 55
- Реакции
- -1
Неверный раздел форума
#include <amxmodx>
#include <authemu>
new const g_szKickMessage[] = "Allowed only GSclient, https://dev-ms.ru/GSClient_Setup.exe";
public plugin_init() {
register_plugin("gsclientcheck", "0.1", "Anton123");
}
public client_putinserver(pPlayer) {
if( is_user_authemu(pPlayer))
return;
server_cmd("kick #%d ^"%s^"", get_user_userid(pPlayer), g_szKickMessage);
}
this code is not work
can someone help ?
#include <authemu>
new const g_szKickMessage[] = "Allowed only GSclient, https://dev-ms.ru/GSClient_Setup.exe";
public plugin_init() {
register_plugin("gsclientcheck", "0.1", "Anton123");
}
public client_putinserver(pPlayer) {
if( is_user_authemu(pPlayer))
return;
server_cmd("kick #%d ^"%s^"", get_user_userid(pPlayer), g_szKickMessage);
}
this code is not work
can someone help ?