Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- display()
- {
- integer cnt = llGetInventoryNumber( INVENTORY_OBJECT );
- active = cnt>0;
- if(active){
- llSetObjectName("Sales Box");
- llSetText(llGetInventoryName(INVENTORY_OBJECT,0)
- +(string)
- "\n L$"+(string)PL+"\nAvailable: "+(string)cnt, <1,1,1>, 1);
- }else{
- llSetText("** Empty **", <1,1,1>, 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement