30.07.2018, 22:06
You can use this wiki: https://sampwiki.blast.hk/wiki/MySQL/R40
for loading the data as integer you can use that function "cache_get_value_index_int(row_idx, column_idx, &destination)". Check all the functions in the wiki!
Also I will edit your code to the R41 version. Here you are:
I hope I helped enough! +1 REP if I did!
for loading the data as integer you can use that function "cache_get_value_index_int(row_idx, column_idx, &destination)". Check all the functions in the wiki!
Also I will edit your code to the R41 version. Here you are:
PHP код:
format(str, sizeof(str), "pRadio%i", i);
cache_get_value_index_int(0, str, PlayerInfo[playerid][pRadio][i]);