argument type mismatch
#2

You are fetching an integer but passing an array (string) to the function, thus a type mismatch. What you need to do is using the variable directly:

PHP код:
                            format(szFieldsizeof(szField), "pt%dBone"i); 
                            
cache_get_value_name_int(row,  szFieldPlayerToyInfo[extraid][i][ptBone]); 
Also this is pretty helpful: https://sampwiki.blast.hk/wiki/MySQL
Reply


Messages In This Thread
argument type mismatch - by IndependentGaming - 17.03.2018, 12:37
Re: argument type mismatch - by iKarim - 17.03.2018, 14:42
Re: argument type mismatch - by IndependentGaming - 17.03.2018, 15:59
Re: argument type mismatch - by iKarim - 17.03.2018, 16:39

Forum Jump:


Users browsing this thread: 1 Guest(s)