Jump to content
  • 0

Does anyone have this script ? ( PVP BASE SCRIPT )


Eros

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

I need a script that won't allow the player to wear some items in my pvp room.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   241
  • Joined:  09/05/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

I need a script :(

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2370
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

Emistry can u give me the full script ? and can you add maps ? like two maps

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  


- 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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

Thx

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...