Thread: [INC] Bank
View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 06-02-2017 , 14:56   Re: [INC] Bank
Reply With Quote #5

Quote:
Originally Posted by Arkarr View Post
Nope. It's not my fault.

@ShawnCZek
You need to pass a valid steamID in the function Native_BankGetBalance() ! You are trying to pass "STEAM_ID_STOP_IGNORING_RETVALS" wich create this error.
Actually you could have gotten a completely different type of error if your query was quoted.
#define QUERY_SELECT_CLIENT_BANK "SELECT * FROM `clients` WHERE steamid=%s AND bankID=%i"
should be
#define QUERY_SELECT_CLIENT_BANK "SELECT * FROM `clients` WHERE steamid='%s' AND bankID=%i"
Mitchell is offline