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 04-08-2001, 02:06 PM
Grey_Mage Grey_Mage is offline
Registered User
Join Date: Mar 2001
Location: Graal
Posts: 72
Grey_Mage is on a distinguished road
Send a message via AIM to Grey_Mage Send a message via Yahoo to Grey_Mage
Unhappy

if (playerenters) timeout = .25;
safeamount=strtofloat(#s(safeaccount));
if (timeout) {
if (rupees>0){
safeamount=strtofloat(#s(safeaccount))+rupees;
setstring safeaccount,#v(safeamount);
rupees=0;
}
timeout =.05;
}

if (playersays(withdraw all) && isleader) {
safeamount=strtofloat(#s(safeaccount));
playerrupees+=bankamount;
safeamount=0;
setstring safeaccount,#v(safeamount);
}

if (playersays(deposit all) && isleader) {
safeamount=strtofloat(#s(safeaccount))+playerrupee s;
playerrupees-=playerrupees;
setstring safeaccount,#v(safeamount);
}

I am trying to make it where only CERTIAN PEOPLE(accout names, guild tags. etc ,ect) can get the money out... I also want to make it where this is in a store and when you buy something the money you bought it with is transfered to the safe so you can take it out later!! Can anyone help me???? PLEASE???????
__________________

Quote:
Mess with the best, die like the rest...

Last edited by Grey_Mage; 04-08-2001 at 02:11 PM..
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 08:26 AM.


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