Jump to content
  • 0

ifgetgmlvl only lvl 20 help anyone?


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

if( !getgmlevel() ){

mes "Only Donator can get supply here! lol!";

close;

}

can anyone help me here?

only GM lvl 20 can access the npc. all other can't

Edited by bVersatile
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

if( getgmlevel() == 20 ){
			mes "Only Donator can get supply here! lol!";
			close;
}

for only lvl 20.

if( getgmlevel() >= 20 ){
			mes "Only Donator can get supply here! lol!";
			close;
}

for lvl 20 and higher

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   11
  • Joined:  05/29/12
  • Last Seen:  

if(getgmlevel() < 20){

mes "Only Donator can get supply here! lol!";

close;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

@Bahmut. i will try it :)

@Bahmut. its working now !! thx :)

Edited by bVersatile
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...