Jump to content

npc abfrage


Yashiro

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  01/25/14
  • Last Seen:  

hallo rathena,

 

ich hab da nochma ne frage und zwar geht es darum

 

ich möchte das man in der beginner zone man erstmal die regeln/infos

 

lesen muss bevor man sich mit dem warper in die hauptstadt warpen kann

 

kann mir da jemand helfen??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  106
  • Reputation:   28
  • Joined:  11/08/11
  • Last Seen:  

In den NPC mit den Regeln am Ende der Regeln einfügen:

set regeln_gelesen, 1;

Und in den Warper bevor man gewarpt wird:

if (regeln_gelesen==0) {
	mes "Bitte erst die Regeln lesen!";
	close;
}

Alternativ mit #regeln_gelesen bzw. ##regeln_gelesen wenn man die Infos/Regeln nur einmal pro Account lesen muss.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  01/25/14
  • Last Seen:  

danke klappt einwandfrei /no1

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
Reply to this topic...

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