Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-09-2001, 04:35 AM
jonny12 jonny12 is offline
Registered User
Join Date: Jun 2001
Location: washingtion--USA all the way!
Posts: 100
jonny12 is on a distinguished road
Send a message via AIM to jonny12 Send a message via Yahoo to jonny12
help!

i need the comand to tracfer cash from one player to another like in the trading house.

i need it for my leave i am making.

thanks!

__________________


Bomy Gang
Reply With Quote
  #2  
Old 11-09-2001, 09:13 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
this is just using an NPC the player has as well as the trading scripts ......
on the tradig NPC have it set the variable 'rupeeaddamt' to the number the player bought the item for aso have a variable for when the trade is done ... .... Then on the Players NPC have this ...
NPC Code:

NPC Code:

if (tradedone=1) {
playerrupees+=rupeeaddamt;
}



Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:52 AM.


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