Jump to content

Vendor script


CJonSL
 Share

You are about to reply to a thread that has been inactive for 4141 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hi,

I'm new to SL scripting and trying to write a vendor script.

I run into some problems and can't find anything related on the wiki or in the forums.

Basicly i'm using llSetPayPrice with the money function which works fine.

But i want to detect when an item has been bought by a customer and alter the items left hover text.

And also when the no more items left, i want to disable the script with llSetScriptState(llGetScriptName(), FALSE);  but i'm not sure where to put it in my script.

If someone could point me to some more info about this process, that would help me alot.

I have set the prim to pay object on touch.

Thanks :)

CJ.

 

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4141 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...