DreamTrance'Kf wrote:
Hey Curtis I'm getting this error message while loading the scheme with CWeaps7.pxl
PXS : CError : TDP : ParseNext : symbol splane is redeclared
at Lib: cweps7.pxl: Script: cweps:3
I wanted to keep some old versions of some of your awesome weapons from curtis_weapons.pxl because for instance the Remote Roller and Magic Slammer were much more cooler before change.
Any ideas what should I correct to make it work?
"symbol splane is redeclared"
That means that other lib have same variable named "splane"
if you like weaps Remote Roller and Magic Slammer, then probably splane variable doesnt related to those weaps. Best way - is to separate only those weaps from old lib and use only them.
To dont make a mess with a lot of libs of separated weaps, best way to do this - is to write script and add weaps directly into scheme. So no additional libs will be required. Basically u need configure weap "by hand" into scheme.
How to do that:
- Copy weaps parameters from lib of needed weaps.
- Open scheme weaps and paste weap params into scheme. Make sure that weap DOESNT load weap from lib.
- if weap uses some scripts, copy them from needed lib and then make new schipt into scheme, paste there code. (PXSchemeEd -> Scripts -> New Script)
- Rename variable names so they won`t be redeclared.
- do not include old lib into scheme.
This way it should work, hope you understood the logic