Thread: Simple Safe
View Single Post
  #10  
Old 10-13-2008, 04:51 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
You don't need to set any types of flags on the player to give them rights to withdraw, especially a clientr. flag.

Currently, the way you have it, if you have clientr.canWithdraw, then you'll be allowed to withdraw from ANY chest, which is a very bad thing.

Record the string of accounts in the script itself and read it via lindexof or (player.account in array)
Reply With Quote