Jump to content
  • 0

doubt modification


Jamy

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  02/14/12
  • Last Seen:  

Well I made the change Emulator eAthena rathena wanted to know how to make a change in my source is not picking up, what can be.

Look for:



		 if (sd-> bl.m> = 0 && map [sd-> bl.m]. flag.nowarpbattle_config.any_warp_GM_min_level &&> pc_isGM (sd)) {
		 clif_displaymessage (d, msg_txt (248));
		 return -1;
	 }

Add this below:



	  if (town == 28 &&! ​​pc_isGM (sd)) {/ / If @ go 28 is a map vip. Just change thenumber 28 to your map vip.
		 clif_displaymessage (sd-> fd, "You are not vip.");
		 return -1;
      }

Just who is giving error in this line which can be

if (town ==28&&! ​​pc_isGM(sd))

Edited by DeMoNiAC
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

I think its ​​pc_isGM(sd); it was replaced by pc_get_group_level(sd)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  02/14/12
  • Last Seen:  

I some how do you only player with less than 1 lv not teleport.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

well with :

if (pc_get_group_level(sd)<1)

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