Jump to content
  • 0

portal with groupid 2 enter


Worst

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   1
  • Joined:  12/07/13
  • Last Seen:  

how to create a portal that is only who can get groupid 2 ?

vip,59,265,0 warp prvip 2,2,prontera,156,191
Edited by Worst
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

map,x,y,d	script	 	45,1,1,{

OnTouch:
	if(getgroupid() > 1) warp "map",a,b;
	end;

}

Take note of the tabs, because I used a 'space' on the npc name.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   1
  • Joined:  12/07/13
  • Last Seen:  

is to add a chat in groupid  1  : You are not vip 

Edited by Worst
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   7
  • Joined:  02/27/12
  • Last Seen:  


map,x,y,d script 45,1,1,{

OnTouch:

if(getgroupid() > 1) warp "map",a,b;

if(getgroupid() < 2) dispbottom "You are not vip";

end;

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   1
  • Joined:  12/07/13
  • Last Seen:  

Thanks bro

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

map,x,y,d	script	 	45,1,1,{

OnTouch:
	if(getgroupid() > 1) warp "map",a,b;
        else message strcharinfo(0),"You are not VIP";
	end;

}

Take note of the tabs, because I used a 'space' on the npc name.

 

Updated

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