Jump to content
  • 0

[Error]: buildin_unequip: No item equipped at pos 11 (CID=3/AID=2000006).


Question

9 answers to this question

Recommended Posts

  • 0
Posted (edited)

@DEsMOnidk why u don't use the simplest way. U wanna unequip every equipment. Just use the *nude script command.

weaponaccesspvp.txt

 

Just to say:

U use a lot of unused statements. U try to read the 2nd index (3rd entrie) of the array at OnPCKillEvent but the map array starts with index 0 and only two added.

U don't need to use a switch(select()) for only one entrie. U can shorter it by if(select()) and no need of.case.

If u only have one case u don't need break. Break is for skipping the other cases and jump after the switch statement.

The script could be much shorter and easier to read.

 

@DEsMOnI've restructure, rewritten and fixed the script completely. This was a bit confused. The error could prompt cause u forgotten () or doubled semicolon.

Please try to compare the scripts to learn.

 

//not tested

weaponaccesspvp fixed.txt

 

Rynbef~

Edited by Rynbef
Suggestions
  • 0
Posted
On 3/13/2022 at 7:55 AM, Rynbef said:

@DEsMOnidk why u don't use the simplest way. U wanna unequip every equipment. Just use the *nude script command.

weaponaccesspvp.txt 1.11 kB · 2 downloads

 

Just to say:

U use a lot of unused statements. U try to read the 2nd index (3rd entrie) of the array at OnPCKillEvent but the map array starts with index 0 and only two added.

U don't need to use a switch(select()) for only one entrie. U can shorter it by if(select()) and no need of.case.

If u only have one case u don't need break. Break is for skipping the other cases and jump after the switch statement.

 

The script could be much shorter and easier to read.

 

Rynbef~

If i use nude it will remove all i just wanted to remove euips n costumes except Weapon n accessory..

Still same error sir

..

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