MySQL Error
#1

Hello guys,

I'm getting an error OnGamemodeInit()
Код:
error 017: undefined symbol "LOG_ALL"
Please help me , thanks in advance!
Reply
#2

In R40 LOG_ was removed from the constants. LOG_ALL is now ALL.

Also keep in mind that logging everything will slow down, better have the default (ERROR | WARNING).
Reply
#3

Now I've completed doing it , now I get these errors:
Код:
error 017: undefined symbol "cache_get_field_content_int"
 error 017: undefined symbol "cache_get_field_content_int"
 error 017: undefined symbol "cache_get_field_content_int"
error 017: undefined symbol "cache_get_field_content_float"
error 017: undefined symbol "cache_get_field_content_float"
 error 017: undefined symbol "cache_get_field_content_float"
 error 017: undefined symbol "cache_get_field_content_float"
 error 017: undefined symbol "cache_get_data"
error 017: undefined symbol "cache_get_field_content"
error 017: undefined symbol "cache_get_field_content_int"
Reply
#4

The name of those functions have been changed and cache_..._int/float functions do not return the value but is passed by reference. cache_get_data was removed, use cache_num_rows() to get the rows.

Refer to: https://sampforum.blast.hk/showthread.php?tid=616103
Reply
#5

This thread is long,
I get One MORE ERROR!
Код:
error 010: invalid function or declaration
I'm a newbie to MySQL
Reply
#6

Post the line given that error (mark it so we can know which one it is) and few lines before and after.
Reply
#7

Its ok now,
I had two returns
Код:
      return true;
   }
return 1;
}
Though ,Can I add more things on it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)