rickzera Posted October 11, 2019 Posted October 11, 2019 I would like to create a bind where he would check the level vip of the account and open the bind. I'm not getting can anyone help me do? - script sampletest -1,{ if(getgroupid() < 1) goto nopremium; OnInit: bindatcmd "sample",strnpcinfo(3)+"::OnAtcommand"; close; OnAtcommand: callfunc "sample1"; end; nopremium: callfunc "sample2"; end; } Quote
2 Emistry Posted October 12, 2019 Posted October 12, 2019 - script Sample -1,{ OnInit: bindatcmd "sample",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: if(getgroupid() < 1) { callfunc "sample2"; } else { callfunc "sample1"; } end; } btw getgroupid aren't vip level. 2 Quote
0 Tisuuu Posted October 12, 2019 Posted October 12, 2019 5 hours ago, monkeydluffy said: solved closed this topic please! The guy gives you the answer and you don't have the ability to thank him or even click as the right answer and I liked the guy's answer, hopefully your next topic will not pay attention. Quote
-2 rickzera Posted October 12, 2019 Author Posted October 12, 2019 solved closed this topic please! Quote
Question
rickzera
I would like to create a bind where he would check the level vip of the account and open the bind. I'm not getting can anyone help me do?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.