View Single Post
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 07-08-2015 , 20:46   Re: [INC] DString - Dynamic Strings
Reply With Quote #15

Quote:
Originally Posted by WildCard65 View Post
I believe error is caused via using the methodmap DString
Does this happen when using the DString_Create function directly? It might be a bug with the interpretation of the public DString. Can you also try creating with: view_as < DString > new DataPack(); if DString_Create does not work?

If DString_Create works, a potential fix for the methodmap is:
Code:
public DString(const char[] str = "") { return DString_Create( str ); }
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`