Thread: Script Help
View Single Post
  #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