Raised This Month: $ Target: $400
 0% 

function or plugin broken?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-25-2013 , 20:49   function or plugin broken?
Reply With Quote #1

This code goes not updated when player get info (Server List)

PHP Code:
#include <amxmodx>
#include <fakemeta>

new p_Name;

public 
plugin_init()
{
    
register_plugin("Game Namer","1.1","NeuroToxin");

    
p_Name register_cvar("amx_gamename","Counter-Strike");
    
    
register_forward(FM_GetGameDescription,"FM_GameDesc");
}

public 
FM_GameDesc()
{
    new 
szName[32];
    
get_pcvar_string(p_Name,szName,charsmax(szName));
    
    
forward_return(FMV_STRING,szName);
    
    return 
FMRES_SUPERCEDE;

Any Suggestion updates?
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



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 19:14.


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