| Blockland Forums > Help |
| certain item in your inventory |
| (1/2) > >> |
| Awesome knights:
Any one know of a add-on that has an event to check if you have a certain item in your inventory? |
| Darksaber530:
VCE |
| Awesome knights:
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: ---onactivate - player - VCE-ifvariable - <var:pl:item3>(lets say its the Printer) - = - Printer OnVariabletrue - Client - VCE-Modvariable - Gold - add - 10 --- End code --- |
| Darksaber530:
--- Quote from: Awesome knights on August 01, 2012, 02:24:12 PM ---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: ---onactivate - player - VCE-ifvariable - <var:pl:item3>(lets say its the Printer) - = - Printer OnVariabletrue - Client - VCE-Modvariable - Gold - add - 10 --- End code --- --- End quote --- --- Code: ---onactivate - player - VCE-if[b]value[/b] - <var:pl:item3>(lets say its the Printer) - = - Printer OnVariabletrue - Client - VCE-Modvariable - Gold - add - 10 --- End code --- |
| Darksaber530:
Sorry ignore that post |
| Navigation |
| Message Index |
| Next page |