Jump to content
  • 0
Sign in to follow this  
WhiteEagle

@follow change request

Question

I would like to change the @follow command so that it is only available on the same map

and aborts when changing the map as long as it is used by a GM level below 90.

To block @follow on some maps, a custom mapflag "nofollow" would be helpful to keep the settings simple.

Can anyone do this?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi.

 

Quote

 

I would like to change the @follow command so that it is only available on the same map

and aborts when changing the map as long as it is used by a GM level below 90.

 

at_follow.diff

 

 

Quote

To block @follow on some maps, a custom mapflag "nofollow" would be helpful to keep the settings simple.

Create a new zone in db/(pre-)re/map_zone_db.conf. For example:

{
	name: "NoFollow"

	disabled_commands: {
		follow: 90
	}
}

And add the maps where you want to disable @follow to npc/mapflag/zone.txt, For example:

geffen	mapflag	zone	NoFollow
payon	mapflag	zone	NoFollow
yuno	mapflag	zone	NoFollow

 

 

~Kenpachi

Share this post


Link to post
Share on other sites
  • 0

Wow, special thanks Kenpachi.
Give's any src tutorials to learn source edits?
Btw, greetings from Germany ~ ^-^

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.