Jump to content
  • 0

Does anyone have this script ? ( PVP BASE SCRIPT )


Question

6 answers to this question

Recommended Posts

Posted
setarray .@eq,5011,5001;

.@size = getarraysize( .@eq );
for( .@i = 0; .@i < .@size; .@i++ )
    if( countitem( .@eq[.@i] ){
        mes "You cant take "+getitemname( .@eq[.@i];
        close;
    }
warp "prontera",155,181;
end;

anyway...still have no idea why wouldnt you just pick the better way instead of picking the way done by script which can be bypass by characters

Posted


- script test -1,{

OnPCLoadMapEvent:

getmapxy(.@map$,.@mapx,.@mapy,0);

if(.@map$ == "MAP_NAME"){

for(set .@i,0; .@i < getarraysize(.itemcheck); set .@i, .@i + 1){

if(countitem(.itemcheck[.@i])){

dispbottom "You cannot have any "+getitemname(.itemcheck[.@i])+" in your possession on this map.";

warp "prontera",200,180;

end;

}

}

}

end;

OnInit:

setarray .itemcheck[0],2383,ID,ID;

end;

}

MAP_NAME mapflag loadevent

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...