I need help to let only vip accounts and game masters lvl 99 stay in the script map "vip".
Is difficult for me because I have to apply 3 filters and I'm not good scripter.
//-----VIP MAP FILTER ACCES-----
- script VIPFILTER -1,{
OnPCLoadMapEvent:
if (getgmlevel()>=99)
showscript strcharinfo(0)+" : Admin Level Account Confirmed!.";
if (vip_status(VIP_STATUS_ACTIVE)){
showscript strcharinfo(0)+" : VIP Account Confirmed!.";
}else{
showscript strcharinfo(0)+" : Your account is not VIP! or i'ts time has expired! Defaulting Save Point.";
sleep2 2000;
specialeffect2 18;
savepoint "new_1-1",47,63;
sleep2 2000;
warp "new_1-1",47,63;
end;
}
}
//------Enable map OnPCLoadMapEvent-------------------
vip mapflag loadevent
Non VIP accounts and Not GM's, who enter "vip" map will have their save point defaulted and also be warped to that spot,
GMs and vip will have the allowance message! and can stay there, I tried my best but i can't get it work as expected, could you lend me a hand? upvote spolier.
Question
iraciz
I need help to let only vip accounts and game masters lvl 99 stay in the script map "vip".
Is difficult for me because I have to apply 3 filters and I'm not good scripter.
//-----VIP MAP FILTER ACCES----- - script VIPFILTER -1,{ OnPCLoadMapEvent: if (getgmlevel()>=99) showscript strcharinfo(0)+" : Admin Level Account Confirmed!."; if (vip_status(VIP_STATUS_ACTIVE)){ showscript strcharinfo(0)+" : VIP Account Confirmed!."; }else{ showscript strcharinfo(0)+" : Your account is not VIP! or i'ts time has expired! Defaulting Save Point."; sleep2 2000; specialeffect2 18; savepoint "new_1-1",47,63; sleep2 2000; warp "new_1-1",47,63; end; } } //------Enable map OnPCLoadMapEvent------------------- vip mapflag loadevent
Non VIP accounts and Not GM's, who enter "vip" map will have their save point defaulted and also be warped to that spot,
GMs and vip will have the allowance message! and can stay there, I tried my best but i can't get it work as expected, could you lend me a hand? upvote spolier.
Link to comment
Share on other sites
2 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.