17.05.2015, 03:04
You,must fill max_len parameter at
cache_get_field_content function for minimize bug, i know this is optional but some people will always got bug about the string won't be saved.
cache_get_field_content(row, const field_name[], destination[], connectionHandle = 1, max_len = sizeof(destination))
From wiki:
Source: https://sampwiki.blast.hk/wiki/MySQL/R33..._field_content
cache_get_field_content function for minimize bug, i know this is optional but some people will always got bug about the string won't be saved.
cache_get_field_content(row, const field_name[], destination[], connectionHandle = 1, max_len = sizeof(destination))
From wiki:
Source: https://sampwiki.blast.hk/wiki/MySQL/R33..._field_content
Code:
You have to provide the size (''max_len'') by yourself if you use an enum-array as destination.