AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   FakeMeta: Changing the name of the game in the server list? (https://forums.alliedmods.net/showthread.php?t=54588)

Dark Jirachi 04-29-2007 14:16

FakeMeta: Changing the name of the game in the server list?
 
Okay, I am trying to make a plugin that will change the name of the game being played by the server. Like in TFC some servers say Team Fortress Classic, and some say NeoTF under game. I want to do that for Sven Co-op. I am pretty new to FakeMeta so I have no idea how to do this.

Greenberet 04-29-2007 14:57

Re: FakeMeta: Changing the name of the game in the server list?
 
Code:
public plugin_init() {         //...         register_forward( FM_GetGameDescription    , "GetGameDescription"     );         //... } public GetGameDescription () {     forward_return( FMV_STRING, "MyGameDescription" );     return FMRES_SUPERCEDE; }


All times are GMT -4. The time now is 06:37.

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