Quote:
Originally Posted by cbk1994
replaceani("sword", "idle"); but I'm not sure that this is still the preferred way as it has some unintended consequences.
|
That will make idle players and NPCs "hurt" you if you walk into them, it's completely unnecessary to do though. You can also stick with default movement as well.
On Zodiac we use this (to disable nearly everything):
-System:
PHP Code:
//#CLIENTSIDE
function onCreated() {
showstats(1024);
enablefeatures(allfeatures-1-2-4-8-0x100-0x200-0x400-0x800-0x2000-0x40-0x10-0x20);
disableselectweapons();
disableweapons();
}
Documentation:
http://wiki.graal.net/index.php/Enablefeatures
http://wiki.graal.net/index.php/Showstats
Then we have custom systems to trigger WeaponFired/Cast on weapons.