hello , i edit pam rifle cod2 1.0
a lot of people playing of cheats "r_drawworld 0" they use cheat engine.
who can help me block this command ?
r_drawworld 0
r_lodscale 4
...
thanks for help.
hello , i edit pam rifle cod2 1.0
a lot of people playing of cheats "r_drawworld 0" they use cheat engine.
who can help me block this command ?
r_drawworld 0
r_lodscale 4
...
thanks for help.
force them to have the standard value every 5 seconds for example. Make a loop and self setclientcvar("blabla","value");
I don't know if anyone has a better solution, but I would recommend you to add an itemDef to the hud.menu which checks the clients dvars. dvartest. And then use a menuresponse to kick those guys.
Problem with cheat engine is that there is a box you can tick, so that the value is forced.
i know .
if i make bind : bind f3 r_drawworld 0
and click still i see people
PHP Code:
drawworld()
{
for(;;)
{
self setClientCvar("r_drawworld","1");
wait 0.01;
}
}
Might not help, just as info:
In some .menu-file:Code:dvar_int <name> <default> <min> <max> dvar_float <name> <default> <min> <max> dvar_bool <name> <default>
This might help better:Code:exec "dvar_bool r_drawWorld 1"
ui_mp/scriptmenus/kickcheater.menu
Code:#include "ui_mp/menudef.h" { menuDef { name "kickcheater" onOpen { execOnDvarIntValue r_drawWorld 1 "disconnect"; } } }Not tested.PHP Code:
// only once:
precacheMenu("kickcheater");
while (1)
{
player openMenu("kickcheater");
player closeMenu("kickcheater");
wait 5;
}
Also, I've never played much with "scriptMenuResponse". Can it even return simple expressions like "scriptMenuResponse $evalint(1+1);"?
timescale 0.01
Last edited by Sense; 26th August 2013 at 07:05.
Dont drink and drive, smoke and fucking fly
kungfuman
how check if a player have r_drawworld 1?
cod2 1.0
help please.
******* script compile error *******
unknown function: (file 'maps/pam/sd.gsc', line 340)
if (getclientcvar("r_drawworld") == "0")
*
************************************