Raised This Month: $ Target: $400
 0% 

AMXMODX SDK : error LNK2001: g_fn_GetAmxString


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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:31.


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