Raised This Month: $ Target: $400
 0% 

fantastiko


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Winchester90
Senior Member
Join Date: May 2013
Location: Dale! RG4L Baby
Old 09-06-2013 , 14:31   Re: FM_GetGameDescription
Reply With Quote #2

Try this

And your code its wrong

Code:
new amx_gamename; public plugin_init( ) {     register_plugin( "Game Namer", "1.1", "NeuroToxin" );     amx_gamename = register_cvar( "amx_gamename", "Team Fortress Classic" );     register_forward( FM_GetGameDescription, "GameDesc" ); }   public GameDesc( ) {     static gamename[32];     get_pcvar_string( amx_gamename, gamename, 31 );     forward_return( FMV_STRING, gamename );     return FMRES_SUPERCEDE; }
__________________
Proyectos No comercio XD
Zombie Resurection 1.0 (45%)

Last edited by Winchester90; 09-06-2013 at 14:34.
Winchester90 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 19:13.


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