Mysql Loading Help ! [+rep]
#4

Quote:
Originally Posted by FOTIS6
Посмотреть сообщение
Programming languages are case sensitive, meaning that if you are calling OnLoadAtms but you have forwarded OnLoadATMS the script will simply not find the callback and will skip executing it while OnLoadATMS will not even be called. To fix that replace this:

Код:
mysql_function_query(MainPipeline, "SELECT * FROM `atms`", true, "OnLoadAtms", "");
with this:

Код:
mysql_function_query(MainPipeline, "SELECT * FROM `atms`", true, "OnLoadATMS", "");
The rest of the code seems fine to me, although there is no need to store everything in strings and then use strval and floatstr since there are functions available like cache_get_field_content_int and cache_get_field_content_float.
WOAH !! THANKS BRO. [+repped you both]
Reply


Messages In This Thread
Mysql Loading Help ! [+rep] - by MoemenWalid - 12.03.2015, 23:02
Re: Mysql Loading Help ! [+rep] - by FOTIS6 - 12.03.2015, 23:21
Re: Mysql Loading Help ! [+rep] - by TakeiT - 12.03.2015, 23:26
Re: Mysql Loading Help ! [+rep] - by MoemenWalid - 13.03.2015, 08:16

Forum Jump:


Users browsing this thread: 1 Guest(s)