Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding

Reply
 
Thread Tools Display Modes
Old 04-16-2012, 05:14 AM   #1
NEOCONFORMIST
 
Join Date: Mar 2010
Reputation: 0
Posts: 6
ironsights in SP error

hey i used this tut "https://developer.valvesoftware.com/wiki/Adding_Ironsights"

and i get this wen i compile

Code:
error C2039: 'vecIronsightPosOffset' : is not a member of 'FileWeaponInfo_t'	111	
error C2039: 'angIronsightAngOffset' : is not a member of 'FileWeaponInfo_t'	118	
error C2039: 'flIronsightFOVOffset' : is not a member of 'FileWeaponInfo_t'	125	
error C2065: 'RecvProxy_ToggleSights' : undeclared identifier	2594	
error C2039: 'vecIronsightPosOffset' : is not a member of 'FileWeaponInfo_t'	111	
error C2039: 'angIronsightAngOffset' : is not a member of 'FileWeaponInfo_t'	118	
error C2039: 'flIronsightFOVOffset' : is not a member of 'FileWeaponInfo_t'	125

any ideas? ive been working on this for 2 days now
allso
VC 2005
source 2007 SP
NEOCONFORMIST is offline  
Reply With Quote
Old 04-16-2012, 08:02 AM   #2
durrchet
 
Join Date: Mar 2012
Reputation: 204
Posts: 901
Those members are not declared in fileweaponinfo_t.
durrchet is offline   Reply With Quote
Old 04-16-2012, 10:10 AM   #3
ProZak
 
Join Date: Mar 2004
Reputation: 60
Posts: 673
You should learn C++ before you touch the source code.
ProZak is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 08:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.