Hey, im following a tutorial
 
 
and iv checked the code more than once.. and iv got everything
like its post to be from the tutorial ..
 
can someone tell me a better way to make a hook or how to
fix these errors?
 
--------------------Configuration: mp - Win32 Profile--------------------
Compiling...
airtank.cpp
beamcylindergrenade.cpp
blaster.cpp
client.cpp
C:\My Documents\MyDLL\SourceCode\dlls\client.cpp(385) : error C2039: 'FireHook' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\client.cpp(387) : error C2039: 'm_fHookButton' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\client.cpp(392) : error C2039: 'm_fHookButton' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
crossbow.cpp
crowbar.cpp
egon.cpp
Energy.cpp
froggun.cpp
func_tank.cpp
gamerules.cpp
gauss.cpp
h_cycler.cpp
handgrenade.cpp
healthkit.cpp
hl_wpn_glock.cpp
hornetgun.cpp
items.cpp
maprules.cpp
mp5.cpp
multiplay_gamerules.cpp
NightVision.cpp
Nuke.cpp
player.cpp
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(4948) : error C2039: 'm_fHookInWall' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(4949) : error C2039: 'm_fActiveHook' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(4963) : error C2039: 'm_fHookButton' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(4965) : error C2039: 'm_fActiveHook' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(4966) : error C2039: 'm_fHookInWall' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(4982) : error C2039: 'm_fHookButton' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5008) : error C2039: 'm_fHookInWall' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5014) : error C2039: 'm_vVecDirHookMove' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5037) : error C2039: 'FireHook' : is not a member of 'CBasePlayer'
        C:\My Documents\MyDLL\SourceCode\dlls\player.h(71) : see declaration of 'CBasePlayer'
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5043) : error C2065: 'm_iWeaponVolume' : undeclared identifier
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5049) : error C2227: left of '->v_angle' must point to class/struct/union
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5049) : error C2227: left of '->punchangle' must point to class/struct/union
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5053) : error C2065: 'GetGunPosition' : undeclared identifier
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5053) : error C2677: binary '-' : no global operator defined which takes type 'class Vector' (or there is no acceptable conversion)
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5061) : error C2065: 'edict' : undeclared identifier
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5061) : error C2440: '=' : cannot convert from 'int' to 'struct edict_s *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5062) : error C2673: 'FireHook' : global functions do not have 'this' pointers
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5067) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class Vector' (or there is no acceptable conversion)
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5069) : error C2227: left of '->punchangle' must point to class/struct/union
C:\My Documents\MyDLL\SourceCode\dlls\player.cpp(5069) : error C2228: left of '.x' must have class/struct/union type
python.cpp
rpg.cpp
satchel.cpp
shotgun.cpp
singleplay_gamerules.cpp
SmokeGrenade.cpp
sound.cpp
squeakgrenade.cpp
stealthsuit.cpp
teamplay_gamerules.cpp
triggers.cpp
tripmine.cpp
util.cpp
weapons.cpp
world.cpp
Error executing cl.exe.
 
mp.dll - 23 error(s), 0 warning(s)
 
 
_________________________________________
Duke Nukem
ICQ#:138594463
Current ICQ status:

SMS: (Send an SMS message to my ICQ): +2783142138594463
More ways to contact me: http://wwp.icq.com/138594463
_________________________________________

Attachment: online.dll?icq=138594463&img=7
Description: Binary data

Reply via email to