27.06.2014, 18:32
i mean, if i'll try to get money from mysql
like that exmple:
format(str,sizeof(str),"SELECT * FROM accounts WHERE username='%s'",pInfo[playerid][pName]);
mysql_function_query(db,str,false,"","");
new money = cache_get_field_content_int(0,"Money",db);
it wont get the field that i want... it will return 0..
why? what im doing worng
(sorry for my bad english :X, please try to understand me)
like that exmple:
format(str,sizeof(str),"SELECT * FROM accounts WHERE username='%s'",pInfo[playerid][pName]);
mysql_function_query(db,str,false,"","");
new money = cache_get_field_content_int(0,"Money",db);
it wont get the field that i want... it will return 0..
why? what im doing worng
(sorry for my bad english :X, please try to understand me)