Thread: nVault Tutorial
View Single Post
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-10-2020 , 21:38   Re: nVault Tutorial
Reply With Quote #113

Quote:
Originally Posted by Bugsy View Post
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.
Okay thanks for your time, i will learn it
Supremache is offline