Jump to content
  • 0

please help me from this script,how to set one time 1 char :D.


kangfredy

Question


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

guys how to set one time 1 char ? /ok from this script..why it's not work?

//======================== trainer celestial ================================================

gonryun,166,132,5 script trainer celestial 123,{

if(statusoke==(1)) {

mes "[ trainer celestial ]";

mes "kamu sekarang lebih kuat!kamu tak perlu kesini lagi";

close;

}

mes "[ trainer celestial ]";

mes "selamat datang celestial yang terpilih /gg";

mes "disini aku akan melatihmu menjadi pasukan";

mes "yang siap bertempur";

next;

mes "[ trainer celestial ]";

mes "aku akan melatihmu dan membuat kamu menjadi lebih kuat.";

next;

mes "[ trainer race ]";

mes "Selesai.kekuatanmu bertambah kini";

atcommand "@str 30";

atcommand "@agi 30";

atcommand "@vit 30";

set statusoke,(1);

close;

}

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

That should work fine. o.o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

nah?i have 2 NPC's different(type) not same on this thread use same function..(if status oke (1))...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

You should remove the () around the number.

if(statusoke==(1)) {
to
if(statusoke == 1) {

set statusoke,(1);
to
set statusoke, 1;

Hope that helps you out.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

@shadowseph: Afaik that really shouldn't make a difference.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  87
  • Reputation:   13
  • Joined:  02/15/12
  • Last Seen:  

Tested with his script and it didn't work, tested with my version and worked.

Don't know, i'm always using the newest svn, maybe his / her is outdated or something.

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