Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-28-2001, 05:35 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
Unhappy 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?'
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.