Raised This Month: $ Target: $400
 0% 

Need some help with plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zoobb
Member
Join Date: Mar 2012
Old 05-14-2016 , 20:39   Re: Need some help with plugin
Reply With Quote #1

Quote:
Originally Posted by EFFx View Post
This pug version is suck, use the Smiley's pugmod, is better.

But if you dont want:

PHP Code:
#include <fakemeta>

new pcvar_name

public plugin_init()
{
        
pcvar_name register_cvar("pug_live_gamename""[ LIVE ]")
        
register_forward(FM_GetGameDescription"FWD_GameDescription")    
}
public 
FWD_GameDescription() 

    static 
GameName[32]
    
get_pcvar_string(pcvar_nameGameName31)
    
    
forward_return(FMV_STRINGGameName)
    return 
FMRES_SUPERCEDE

Try add if(Live), if(Warmup) for switch the gamename.
While trying to compile the .sma file for smiley's pugmod. I had so many errors not sure why though. Any ideas folks?
Zoobb is offline
Reply



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 23:56.


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