OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: max on 03 Nov 2002, 15:03:23
-
When I try to load OFP i get this error message:
'ak5blj\config.cpp/CfgWeapons/AK5BLJ. ': '{' encountered insted of '='
Could anyone help me?
This is my first time making a CPP-file so there could lots errors that I'm not aware of yet.
Thanks!
(I had to convert the file into txt so that I could attach it.)
-
G;day
As far as I can tell you have 2 "{" doing nothing
The first one is at the end of the class FullAuto section
remove it
And the second one is at the end of the magazine definitions section
remove this too
hope this helps
L8R
-
Thanks m8.
But now I get a new error:
ak5blj\config.cpp/CfgVehicles/: Undenfined base class 'All'
Any ideas ???
-
G'day
Ok. You forgot to put class All {}; in your CfgVehicles section
so it's
class CfgVehicles
{
class All {};
class AllVehicles: All {};
etc.
hth
L8R
-
Thanks again m8 ;)
Just one more problem left now :D
The sight doesn't work, I can't aim the thing! And when I go into "scope-mod" I just spinn around!
It's probably because I've missed to add something to the CPP-file again ::)
Any ideas ???
-
Is the rifle a "Custom" p3d, or just one made by BIS
-
Custom, made it myself. My first model :)
http://www.imgstudio.com/IMGphotos/2002/November/4/stamp_original/1104200210050955.jpg (http://www.imgstudio.com/IMGphotos/2002/November/4/stamp_original/1104200210050955.jpg)
-
Anyone?