Jump to content
  • 0

Force disable autoloot when enter certain map


neokatsuya

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/01/16
  • Last Seen:  

- can anyone help me about this? i try used maplag below :

izlude    mapflag    nocommand    80

- But the problem is, player do @autoloot before going to that map.

is there any ways to force disable autoloot command upon entering izlude map? 

Edited by neokatsuya
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

-	script	autoloot_checker	-1,{
OnPCLoadMapEvent:
	getmapxy .@ma$,.@ax,.@ay,0;
	if(.@ma$ == "payon")
	{
		atcommand "@autoloot 0";
	}
end;
}
payon	mapflag	loadevent

 

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/01/16
  • Last Seen:  

thank you soo much sader1992!! :3

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

On 8/5/2017 at 10:31 PM, sader1992 said:
-	script	autoloot_checker	-1,{
OnPCLoadMapEvent:
	getmapxy .@ma$,.@ax,.@ay,0;
	if(.@ma$ == "payon")
	{
		atcommand "@autoloot 0";
	}
end;
}
payon	mapflag	loadevent

 

hello regarding this script after the player enter the map the autoloot is disabled but if they type @autoloot again inside the map it still working wondering how to fixed that 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  234
  • Reputation:   87
  • Joined:  06/30/18
  • Last Seen:  

You can use the nocommand mapflag, to disable the usage of atcommands on the map to prevent the usage of autoloot.

izlude	mapflag	nocommand	80

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

1 hour ago, Winterfox said:

You can use the nocommand mapflag, to disable the usage of atcommands on the map to prevent the usage of autoloot.

izlude	mapflag	nocommand	80

 

omg ty i dont know thats theres a nocommand mapflag thanks alot

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...