Raised This Month: $248 Target: $400
 62% 

need Auto Change HostName in spesific maps


Post New Thread Reply   
 
Thread Tools Display Modes
talnaim9999
Member
Join Date: Feb 2018
Location: ISRAEL
Old Yesterday , 09:21   Re: need Auto Change HostName in spesific maps
Reply With Quote #11

Quote:
Originally Posted by OciXCrom View Post
You don't need a plugin for this. You can setup map-specific configuration files just like you can setup custom plugins.ini.

The file path should be the following: "configs/maps/mapname.cfg"
You can also use prefixes: "configs/maps/prefix_surf.cfg"

So you can put your custom cvar (hostname) in that file, and have the default one in server.cfg.
More info here - https://wiki.alliedmods.net/Configur...p_Config_Files
Hi , thanks i know that , but need made for all maps its 10 maps something like that and they run same mod and diffrent prefix so i will need create 10 files in confings/maps/name.cfg

im not sure what is a better way with 1 short plugin or made 10 .cfg
talnaim9999 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Old Yesterday , 09:24   Re: need Auto Change HostName in spesific maps
Reply With Quote #12

Quote:
Originally Posted by talnaim9999 View Post
Hi , thanks i know that , but need made for all maps its 10 maps something like that and they run same mod and diffrent prefix so i will need create 10 files in confings/maps/name.cfg

im not sure what is a better way with 1 short plugin or made 10 .cfg
Try this one and if is it not working tell me for fixing it
https://forums.alliedmods.net/showpo...60&postcount=4
Supremache is offline
talnaim9999
Member
Join Date: Feb 2018
Location: ISRAEL
Old Yesterday , 17:58   Re: need Auto Change HostName in spesific maps
Reply With Quote #13

Quote:
Originally Posted by Supremache View Post
Try this one and if is it not working tell me for fixing it
https://forums.alliedmods.net/showpo...60&postcount=4
ty , like i said in first page im good someone help me with change name , and has also the way OciXCrom so all good.

thanks !
talnaim9999 is offline
Reply


Thread Tools
Display Modes

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 03:46.


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