OmarAcero
New member
Friends, How can I enable access for only trans classes?
I want create a restrict access to all jobs other than Jobs Trans.
My Idea : Warper
I want create a restrict access to all jobs other than Jobs Trans.
My Idea : Warper
Code:
function Restrict {
// if ((getarg(0) == "RE" && !RENEWAL) || (getarg(0) == "Pre-RE" && RENEWAL)) {
// if ((getarg(0) == BaseLevel > 89) || (getarg(0) == BaseLevel < 90)) {
if ((getarg(0) == Upper > 3 ) || (getarg(0) == Upper < 3 )) {
if (getarg(1,0)) {
@warp_block = 0;
for (.@i = 1; .@i < getargcount(); .@i++)
@warp_block = @warp_block | (1<<getarg(.@i));
} else {
// message strcharinfo(PC_NAME),"This map is not enabled in "+(RENEWAL?"":"Pre-")+"Renewal.";
message strcharinfo(PC_NAME),"This map only is enabled for Jobs Trans.";
end;
}
}
return;
}
Last edited by a moderator: