I wrote another useless script. This one disables clients' consoles so they cannot reload the map of demo SH servers (since the thoughful gents at EA did not see it fit to release a fix for it, as they did with the full version..
I am posting for your input and ideas.
Code: Select all
_console:
setcvar "level.console" "0"
while(1)
{
wait .1
local.console = getcvar "level.console"
for(local.p = 2; local.p < $player.size+1;local.p++)
{
if(local.console=="0")
{
$player[local.p] stufftext ("ui_console 0")
}
else
{
//$player[local.p] stufftext ("ui_console 1")
}
}
wait (.2)
}
endA sad thing is that persons can still reload the map IF they are familiar with the UI's and the stuffcommand. But this is mostly not the case.
I do not know crack about hex-editing the .dll file. Else I would.
Thanks you your input on the above script.
