Jump to content
  • 0

Could kindly someone help me with this.


WorldSeed

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  56
  • Reputation:   0
  • Joined:  02/19/16
  • Last Seen:  

- script Sample -1,{

OnPCLoadMapEvent:

attachnpctimer strcharinfo(0);

initnpctimer;

end;

OnTimer300000:

if( strcharinfo(3) == "prontera" ){

dispbottom "Gained some EXP at prontera.";

set BaseExp,BaseExp + 10000;

set JobExp,JobExp + 10000;

initnpctimer;

}else{

stopnpctimer;

}

end;

}

just wanted to know how to add just for group id lvl 1 only? thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

change

if( strcharinfo(3) == "prontera" ) {

to

if( getgroupid() == 1 && strcharinfo(3) == "prontera" ){
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...