Get mapname from config file
well i want this script to use config file which contains list of map to remove weapon entities from.
weapon_stripper.cfg Quote:
Code:
thanks in advanced and +1 karma |
Re: Get mapname from config file
Just use per-map feature for plugins. Read up on the AMXX Changelog and you will see it.
|
Re: Get mapname from config file
i know that but i prefer this way since config in one file is more simple to manage
|
Re: Get mapname from config file
You can use this stock
Code:
if(is_map_in_file("../file path", "de_dust2")) { //map de_dust2 is in file. } |
Re: Get mapname from config file
@Alka, you had a few errors:
Code:
|
| All times are GMT -4. The time now is 03:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.