Author Topic: certain item in your inventory  (Read 605 times)

Any one know of a add-on that has an event to check if you have a certain item in your inventory?


I have looked into VCE there is <var:pl:item*> "*"being the slot number but i can't get the example below to work

Code: [Select]
onactivate - player - VCE-ifvariable - <var:pl:item3>(lets say its the Printer) - = - Printer
OnVariabletrue - Client - VCE-Modvariable - Gold - add - 10

I have looked into VCE there is <var:pl:item*> "*"being the slot number but i can't get the example below to work

Code: [Select]
onactivate - player - VCE-ifvariable - <var:pl:item3>(lets say its the Printer) - = - Printer
OnVariabletrue - Client - VCE-Modvariable - Gold - add - 10

Code: [Select]
onactivate - player - VCE-if[b]value[/b] - <var:pl:item3>(lets say its the Printer) - = - Printer
OnVariabletrue - Client - VCE-Modvariable - Gold - add - 10


Instead of VCE if varible change it to VCE if value

that works thank you very much