Jump to content
  • 0
GGG2020

Help to edit this script

Question

Hello everyone!

 ihave a script here . . but i want to disable command using this script if normal player are in  pvp and gvg map, this script works fine but the matter is i need to type all map of all pvp map and gvg map. . can anyone help me to make this script read the whole pvp and gvg map using a few code instead of typing all the pvp and gvg map one by one. .

thanks in advace. . have a nice day . .Newbie here . . thank you 🙂

 

 

OnQuest:
setarray .Map$[0],"new_1-1","prtg_cas01";
if(strcharinfo(3) == .Map$[0] || strcharinfo(3) == .Map$[1]){
  message strcharinfo(0),"This Command cannot be use in this Area!";
end;
}
warp "prt_in",284,129;
end;
 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
3 hours ago, BeWan said:
[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) {
		dispbottom [email protected]_command$+" failed in PVP/GVG maps";
		end;
	}

 

uhhh works fine.  . .thank you so much 🙂

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...

Important Information

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