bind pagedown toggle cl_show_quads 0 1
New togglecmd command example usage:
bind j toggle_command "bind k kill" "unbind k"
The existing toggle analyzes the current value of the variable it's toggling (0 or 1 in above example) and sets it to the _other value. The new togglecmd should just "remember" which cmd was executed last, and execute the _other cmd.
...std::sort(v.begin(), v.end(), [](const somestruct &a, const somestruct &b) -> bool { return a.x > b.x; });
add_path $USERDIR
add_path $DATADIR
add_path $CURRENTDIR
add_path $APPDIR
$USERDIR
# - ~/.appname on UNIX based systems
# - ~/Library/Applications Support/appname on Mac OS X
# - %APPDATA%/Appname on Windows based systems
# $DATADIR
# - the 'data' directory which is part of an official
# release
# $CURRENTDIR
# - current working directory
# $APPDIR
# - usable path provided by argv[0]
AddPath
to see how $APPDIR is handledstat
the directory on linux and compare ino and device number#pragma once
OpenFile
only opens the highest priority file)CNetjObj_Sv_SkinChange
. I created a rainbow, so the skinchange message will be sent every tick to the currently snapping client. If there are about 7 players on the server, it will overload the buffer and disconnect the players one by one (or most of them) for the reason out of buffer
. Oy said, this shouldnt even reach the limit of the buffer, and I cannot find out why it does. The client doesnt receive any weird extra packages too or something like that.