Raised This Month: $32 Target: $400
 8% 

AMXMODX SDK : error LNK2001: g_fn_GetAmxString


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
karaulov
Senior Member
Join Date: Jul 2018
Old 01-23-2021 , 13:39   AMXMODX SDK : error LNK2001: g_fn_GetAmxString
Reply With Quote #1

Visual Studio 2019
error LNK2001: ""char * (__cdecl* g_fn_GetAmxString)(struct tagAMX *,int,int,int *)" (?g_fn_GetAmxString@@3P6APADPAUtagAMX@@HHPAH@ ZA)"

If replace

Code:
typedef char *			(*PFN_GET_AMXSTRING)			(AMX* /*amx*/, cell /*amx_addr*/, int /*bufferId*/, int * /*pLen*/);
to

Code:
typedef char *			(*PFN_GET_AMXSTRING)			(AMX* /*amx*/, int /*amx_addr*/, int /*bufferId*/, int * /*pLen*/);
Then compiled without errors. Why ? How to fix?!
karaulov is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 02-03-2021 , 16:54   Re: AMXMODX SDK : error LNK2001: g_fn_GetAmxString
Reply With Quote #2

Don't make changes to things you are not familiar with.

What did you try to do with it? Show some code.
redivcram is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 02-06-2021 , 04:12   Re: AMXMODX SDK : error LNK2001: g_fn_GetAmxString
Reply With Quote #3

PROBLEM SOLVED NEED define HAVE_INT_STD GLOBAL)
karaulov 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 16:57.


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