
09-28-2001, 05:35 AM
|
|
Registered User
|
Join Date: Aug 2001
Posts: 378
|
|
Stand help....
|
Okay I've been trying to make a selling stand like there is on 2001. I'm having problems taking the persons item and putting it in front of them. I deleted my old script on trying to do it because there was way to many errors. Here's what I've done so far.
// NPC made by Josey Hunt
if (playerenters&&this.bought=0){message Buy this stand for 100 gralat and sell your items!;}
if (playerenters&&this.bought=1){message #s(server.standowner) owns this stand.;}
if (playerchats&&strequals(#c,Buy stand)&&this.bought=0&&100>itemprice&&playerrupees >=99&&!playerrupees<=99){
playerrupees-=100;this.bought=1;setstring server.standowner,#n;message #s(server.standowner) owns this stand.;}
if (playerchats&&strequals(#c,Buy stand)&&this.bought=1){
message #s(server.standowner) already owns this stand!;}
Not much I know, but could someone give me a push in the righ direction? |
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
|
|
|
|