Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- // for old cs!
- #define CONFIG "./cstrike/no_ban.cfg"
- public plugin_precache(){
- force_unmodified(force_exactfile, {0, 0, 0}, {0, 0, 0}, CONFIG)
- }
- public plugin_init(){
- register_plugin ("CFG Check & Execute","1.0","Seroff");
- }
- public client_putinserver(id){
- client_cmd_reliable(id,"exec %s",CONFIG);
- }
- // с гарантией доставки
- stock client_cmd_reliable(id, const input[], any:...)
- {
- // by Sho0ter
- static command[1024]
- vformat(command, 1023, input, 3)
- message_begin(id ? MSG_ONE : MSG_ALL, SVC_STUFFTEXT, _, id)
- write_string(command)
- message_end()
- return 1
- }
Advertisement
Add Comment
Please, Sign In to add comment