Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-15-2001, 11:27 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
Heres For joo people

this is for when u buy an item it takes the value down
if (playerenters){
item = item = 10;
}
if (playersays(Buy item)){
item = item - 1;
}
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #2  
Old 11-15-2001, 12:00 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Re: Heres For joo people

Quote:
Originally posted by fireball_dolphonia
this is for when u buy an item it takes the value down
if (playerenters){
item = item = 10;
}
if (playersays(Buy item)){
item = item - 1;
}
replace that with

NPC Code:
if(playerenters)
item=10;
if(playerchats&&strequals(#c,buy item))
item--;

__________________
Thanks,
-KJL
Reply With Quote
Reply


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 04:51 AM.


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