Results 1 to 10 of 15

Thread: how block cod2 commands?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Private
    Join Date
    Nov 2012
    Location
    Denmark, where else
    Posts
    27
    Thanks
    5
    Thanked 13 Times in 6 Posts
    Quote Originally Posted by malyczolg View Post
    a lot of people playing of cheats "r_drawworld 0" they use cheat engine.
    First of all do you have sv_cheats "0" on this server? if not then try it.

    Quote Originally Posted by malyczolg View Post
    PHP Code:
    drawworld()
    {
        for(;;)
        {
            
    self setClientCvar("r_drawworld","1");
            
    wait 0.01;
        }

    Possibly the worst you could do, as loops should be the last solution for problems.

    Quote Originally Posted by kung foo man View Post

    In connect.menu:
    Code:
    //exec "dvar_bool r_drawWorld 1"
    onOpen	{ execNow "r_drawWorld 1" }
    This might help better:

    ui_mp/scriptmenus/kickcheater.menu
    Code:
    #include "ui_mp/menudef.h"
    
    {
        menuDef
        {
            name "kickcheater"
            onOpen
            {
                execOnDvarIntValue r_drawWorld 1 "disconnect"; // shouldnt this be 0 as it is execOnDvarIntValue?
            }
        }
    }
    PHP Code:
    // only once:
    precacheMenu("kickcheater");



    while (
    1)
    {
        
    player openMenu("kickcheater");
        
    player closeMenu("kickcheater");
        
    wait 5;

    Simple solution, use it.
    Last edited by Sense; 26th August 2013 at 07:05.
    Dont drink and drive, smoke and fucking fly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •