Raised This Month: $ Target: $400
 0% 

wierd problem with FM_GetGameDescription


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 07-01-2018 , 14:42   Re: wierd problem with FM_GetGameDescription
Reply With Quote #6

Quote:
Originally Posted by CrazY. View Post
From zp50_serverbrowser_info

Code:
/*================================================================================         --------------------------------     -*- [ZP] Server Broswer Info -*-     --------------------------------         This plugin is part of Zombie Plague Mod and is distributed under the     terms of the GNU General Public License. Check ZP_ReadMe.txt for details.     ================================================================================*/ #include <amxmodx> #include <fakemeta> #include <zp50_core> new g_ModName[64] public plugin_init() {     register_plugin("[ZP] Server Browser Info", ZP_VERSION_STRING, "ZP Dev Team")         register_forward(FM_GetGameDescription, "fw_GetGameDescription")     formatex(g_ModName, charsmax(g_ModName), "Zombie Plague %s", ZP_VERSION_STR_LONG) } // Forward Get Game Description public fw_GetGameDescription() {     // Return the mod name so it can be easily identified     forward_return(FMV_STRING, g_ModName)         return FMRES_SUPERCEDE; }

Exactly as I do, the difference is that I format the string with "fmv" from amxx 1.8.3. any other idea of ​​what it might be?
iceeedr is offline
Send a message via Skype™ to iceeedr
 



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 12:50.


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