|
how to block "sm plugins" console commands in css v34?
|
|
|
_wS_
|
Дата: Пятница, 12.01.2018, 12:26:24 | Сообщение # 46 |
|
You did something wrong or did not replace the files after compilation. Standart code:
Код if (strcmp(cmd, "list") == 0) { char buffer[256]; unsigned int id = 1; int plnum = GetPluginCount();
if (!plnum) { rootmenu->ConsolePrint("[SM] No plugins loaded"); return; // you see, it work - "return" = stop function }
Or do this idk:
Код if (plnum || !plnum) { rootmenu->ConsolePrint("[SM] No plugins loaded"); return; }
Perhaps you blocked the command "sm" in some other file.
|
| |
| |
|
_wS_
|
Дата: Пятница, 12.01.2018, 12:28:31 | Сообщение # 47 |
|
Цитата AdabraIM () Do I have to delete the rest of the block?? No, just do this
Код if (plnum || !plnum) { rootmenu->ConsolePrint("[SM] No plugins loaded"); return; }
Don't touch other code.
|
| |
| |
|
AdabraIM
|
Дата: Пятница, 12.01.2018, 12:29:40 | Сообщение # 48 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
Sorry I deleted my text by mistake: The questiin was : Do I have to delete the rest of the block?(however the answer is upper!)
|
| |
| |
|
chilla_mytku
|
Дата: Пятница, 19.01.2018, 23:49:16 | Сообщение # 49 |
 |
Сообщений: 94
Репутация: 0 [ +/- ]
|
|
|
| |
| |
|
_wS_
|
Дата: Суббота, 20.01.2018, 00:21:53 | Сообщение # 50 |
|
Он не для v34.
|
| |
| |
|
AdabraIM
|
Дата: Понедельник, 16.07.2018, 12:27:31 | Сообщение # 51 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
Hello Again. sorry for delay in writing a reply because I didn't have access to my computer. I did everything as you said but again it doesn't work and I cant launch my plugins with new sourcemod. Please help me fix this guys!
|
| |
| |
|
Communist
|
Дата: Суббота, 21.07.2018, 16:27:42 | Сообщение # 52 |
 |
Сообщений: 2
Репутация: 0 [ +/- ]
|
|
Могу за 200 рябчиков продать :D Что бы не отображалась информация о плагинах :D
Сообщение отредактировал Communist - Суббота, 21.07.2018, 20:46:47 |
| |
| |
|
Warriors
|
Дата: Вторник, 31.07.2018, 11:30:38 | Сообщение # 53 |
 |
Сообщений: 6
Репутация: 0 [ +/- ]
|
|
hi guys..srry for my bad english..i cant speak english good..
We all know that sv_cheats command can be blocked...
But how can this command be blocked in sourcemod? (v34 css)
sm plugins ....(without _)
That is, the distance between commands
They are built on other servers (example: 46.174.54.123:27015 and 46.174.52.15:27205)
Sorry if it was an advertisement
see:(we cant use sm plugins or sm alone!)
Код public OnPluginStart() { RegConsoleCmd("sm plugins", SayCallback); } public Action:SayCallback(client, args) { return Plugin_Handled; }
Can someone make such a plugin?
(_wS_) u can help me... If sourcemod officials are sensitive Send in private message
pls help me if u can ....I am waiting for your answer..tnqДобавлено (02.08.2018, 11:23:25) --------------------------------------------- hi again
No one can help??
Сообщение отредактировал Warriors - Вторник, 31.07.2018, 11:47:22 |
| |
| |
|
Communist
|
Дата: Четверг, 02.08.2018, 23:27:34 | Сообщение # 54 |
 |
Сообщений: 2
Репутация: 0 [ +/- ]
|
|
Цитата Warriors (  ) hi guys..srry for my bad english..i cant speak english good..
We all know that sv_cheats command can be blocked...
But how can this command be blocked in sourcemod? (v34 css)
sm plugins ....(without _)
That is, the distance between commands
They are built on other servers (example: 46.174.54.123:27015 and 46.174.52.15:27205)
Sorry if it was an advertisement
see:(we cant use sm plugins or sm alone!)
Код public OnPluginStart() { RegConsoleCmd("sm plugins", SayCallback); } public Action:SayCallback(client, args) { return Plugin_Handled; }
Can someone make such a plugin?
(_wS_) u can help me... If sourcemod officials are sensitive Send in private message
pls help me if u can ....I am waiting for your answer..tnq Добавлено (02.08.2018, 11:23:25) --------------------------------------------- hi again
No one can help??
What exactly do you want I do not understand, do you want to block the command "sm plugins list"?
|
| |
| |
|
Warriors
|
Дата: Суббота, 04.08.2018, 14:27:14 | Сообщение # 55 |
 |
Сообщений: 6
Репутация: 0 [ +/- ]
|
|
hi..
yes ..i want to block
sm sm plugins list sm plugins sm plugins 11 sm plugins 22 sm plugins 23 and else...
I don't want anyone seeing my server's plugin
Like this Servers: 46.174.54.123:27015 and 46.174.52.15:27205
It does not matter whether it blocks or kicks someone who enters this command "sm"
please help..I am in a country that is sanctioned and I can not have an international account to be deposited
|
| |
| |
|
WhoAmI
|
Дата: Суббота, 04.08.2018, 15:11:18 | Сообщение # 56 |
 |
Сообщений: 7
Репутация: 0 [ +/- ]
|
|
Warriors, u can use this plugin, but u have to have the consolehook extension
|
Гости не могут скачивать файлы
|
Сообщение отредактировал WhoAmI - Суббота, 04.08.2018, 15:11:40 |
| |
| |
|
Warriors
|
Дата: Воскресенье, 05.08.2018, 10:31:21 | Сообщение # 57 |
 |
Сообщений: 6
Репутация: 0 [ +/- ]
|
|
hi..tnq for plugin ...but dont work :
40 <Failed> "sm_plugins_bloc.smx"
That was what you meant ?
https://forums.alliedmods.net/showthread.php?t=201659
I installed it, but it say "failed" again
i test it on sourcemod 1.4.2 and 1.7.3 for v34 css
i test on sourcemod 1.5.3 (orangbox css) its work...:(
when i install ConsoleHook on 1.7.3 or 1.4.2 on css v34 meta list go to error :
[01] SourceMod (1.7.3-stable+5265) by AlliedModders LLC [02] CS Tools (1.7.3-stable+5265) by AlliedModders LLC [03] SDK Tools (1.7.3-stable+5265) by AlliedModders LLC [04] <ERROR>
ConsoleHook dont install on css v34 (sm exts list:)
<FAILED> file "consolehook.ext.dll": Plugin API 15 is newer than internal version (11)
what can be done?
Сообщение отредактировал Warriors - Воскресенье, 05.08.2018, 11:52:24 |
| |
| |
|
WhoAmI
|
Дата: Воскресенье, 05.08.2018, 21:52:23 | Сообщение # 58 |
 |
Сообщений: 7
Репутация: 0 [ +/- ]
|
|
Warriors, u can get this
|
Гости не могут скачивать файлы
|
|
| |
| |
|
Warriors
|
Дата: Понедельник, 06.08.2018, 12:18:43 | Сообщение # 59 |
 |
Сообщений: 6
Репутация: 0 [ +/- ]
|
|
hi WhoAmI
I'm sorry to be annoying ... but I use Windows
Do you offer Windows version?
consolehook.ext.dll for v34
tnx man  Добавлено (07.08.2018, 09:46:51) --------------------------------------------- consolehook.ext.dll for v34 ... Does not have windows version?
Сообщение отредактировал Warriors - Понедельник, 06.08.2018, 12:19:06 |
| |
| |
|
WhoAmI
|
Дата: Пятница, 10.08.2018, 11:25:45 | Сообщение # 60 |
 |
Сообщений: 7
Репутация: 0 [ +/- ]
|
|
obviously nope
|
| |
| |