Raised This Month: $51 Target: $400
 12% 

[REQ] Add map to mapcycle + maplist via ingame command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ahmed_Nakadi
Member
Join Date: Oct 2018
Old 05-07-2020 , 11:06   [REQ] Add map to mapcycle + maplist via ingame command
Reply With Quote #1

Hello guys, I would like to ask you if someone of you can make a very very simple plugin, that will add map on a new line to maplist.txt and mapcycle.txt via in-game command?

That in-game command should look like sm_addmap "mg_example" (its just an example) and should be available only for roots.

Can someone of you please make this? Would actually help me a lot
Ahmed_Nakadi is offline
Pilo
AlliedModders Donor
Join Date: Jan 2019
Location: Israel
Old 05-07-2020 , 11:20   Re: [REQ] Add map to mapcycle + maplist via ingame command
Reply With Quote #2

Message me on discord : Pilo#8253
__________________

Taking Private(PAID) Plugins In PM
Feel free to Donate with PayPal
Feel free to message me in Discord Pilo#8253
Total donated : 25$
Pilo is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 05-07-2020 , 13:29   Re: [REQ] Add map to mapcycle + maplist via ingame command
Reply With Quote #3

Both tested and work.

addmap-csgo is for CSGO, other should be for other games that still use mapcyclefile ConVar.
Attached Files
File Type: sp Get Plugin or Get Source (addmap.sp - 108 views - 2.2 KB)
File Type: sp Get Plugin or Get Source (addmap-csgo.sp - 126 views - 2.1 KB)
Drixevel is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 05-08-2020 , 12:41   Re: [REQ] Add map to mapcycle + maplist via ingame command
Reply With Quote #4

Maybe try something like this?
https://forums.alliedmods.net/showthread.php?t=56376
__________________
iGANGNAM is offline
Ahmed_Nakadi
Member
Join Date: Oct 2018
Old 05-08-2020 , 16:22   Re: [REQ] Add map to mapcycle + maplist via ingame command
Reply With Quote #5

Quote:
Originally Posted by Drixevel View Post
Both tested and work.

addmap-csgo is for CSGO, other should be for other games that still use mapcyclefile ConVar.
thank you man, its working nice, except one problem -> it doesnt add it to a new line :/
Ahmed_Nakadi 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 14:31.


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