Oh, I am still running 1.1.6-beta. I remember reporting the typos but hadn't known they were the cause of the MenuTarget errors. I'll update to the latest now.
I don't know what target errors your talking about 1.1.6 has my custom menu system which holds the data in an array when you open a target menu. My only typo was forgetting to remove the GetClientOfUserId native. I went from using user ids to array indices .
EDIT: Dev Plans for v2.0.0
Forwards:
Spoiler
PHP Code:
/** * Called when a a report starts to be sent. * @param senderid In-Game userid of the player sending the message. (0 if server) * @param message Message sent to the fourms. (Original none modified) * @param title Title of the post. **/ forward RTF_OnMessageSend(senderid, const String:message[], const String:title[]);
/** * Called after a report was main. Contains Error Info. * @param error Boolean value true if errors. * @param errorString Error Message. * @param senderid In-Game userid of the sender. * @param message Message that was sent to the forum. **/ forward RTF_OnMessageSendPost(bool:error, const String:errorString[], senderid, const String:message[]);
Natives:
Spoiler
PHP Code:
/** * Sets the Poster info. This must be called prior to RTF_SendForumMessage * @param forumid Forum ID of wher to post the forums. * @param senderid UserID of the reporter. (in the forum database) * @param username Username string corresponding to the UserID above. * @param email Email string corresponding to the UserID account. * @return No Return. **/ native RTF_SetPosterInfo(forumid, senderid, const String:username[], const String:email[]);
/** * Sends a mesasge to the forums. * @param senderid In-Game userid of the player sending the message. (0 if server) * @param message Formatted String Message. * @param title Formated title of the post. * @return No Return. (use the forwards to check for errors) **/ native RTF_SendForumMessage(senderid, const String:message[], const String:title[]);
Stocks: There are only a few stocks. These are simply for convenience I may add more as I find more things to simplify.
Spoiler
PHP Code:
/** * Set AutoExecConfig for your RTF Addon. * @param filename File Name of your Config File. * @param autoCreate autoCreate the file if set to true. **/ stock RTF_AutoExecConfig(const String:filename[], bool:autoCreate = true) { AutoExecConfig(autoCreate, filename, "rtf_configs"); }
ConVars: Only two ConVars needed at this time in the core plugin. Most of the work is done by the addon's using this API. I will post more about those as development gets closer to release.
Spoiler
PHP Code:
rtf_table_prefix<value> //Prefix for the tables. rtf_forum_softwareid<value> //Forum Software ID.
As I mentioned before 1.1.7 has been canceled however I will still actively support 1.1.6 until i release 2.0.0...... If any issues arise please let me know.
If you care to follow my development... You can follow me on BitBucket I dont have alot of time to submit commits however you can view the most recent code. I have created a simple test plugin which I have yet to try with the API but it is all compiled and ready to start the initial testing and bug fixes prior to the real beta test release to each and every one of you.