Raised This Month: $51 Target: $400
 12% 

Compiler error - pEdicts in compat_wrappers.h


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Merudo
Senior Member
Join Date: Feb 2016
Old 03-24-2016 , 10:50   Compiler error - pEdicts in compat_wrappers.h
Reply With Quote #1

I'm trying to compile an extension with VS however I get the following error:

Code:
class "CGlobalVars" has no member "pEdicts"
pEdicts is not a member of CGlobalVars
The offending line is at

Code:
\sourcemod-master\public\compat_wrappers.h	127
and is:

Code:
	inline int IndexOfEdict(const edict_t *pEdict)
	{
		return (int)(pEdict - gpGlobals->pEdicts);
	}
__________________
Merudo is offline
psychonic

BAFFLED
Join Date: May 2008
Old 03-24-2016 , 11:00   Re: Compiler error - pEdicts in compat_wrappers.h
Reply With Quote #2

You are using the incorrect SDK. Refer to the response in your other thread.
psychonic is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 04:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode