Thread: nVault Tutorial
View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-09-2020 , 19:13   Re: nVault Tutorial
Reply With Quote #112

1. The player cannot execute the command if he is not connected, remove the is_user_connected() check.
2. Ensure this player has teh flags..or remove the if(access()) check.
3. Why are you assigning the value to iMoney[] before deleting the nvault record? i thought the intend was to clear the bank which IMO should include setting the variable to 0.
4. You do not need to call get_user_authid() again, just use the value in szAuth[id] in your log to get the steamid.
5. Are you setting steam id into szAuth[id] at client_authorized()?

I'm tapping out after this. You need to put time in to learn and debug on your own.
__________________
Bugsy is offline