Name suddenly null?
#2

possible crash by size inexistent. (cache_get_field_content(0, "ID", PlayerInfo[playerid][ID], mysql, 10);) the argument it's optional and "ID" I think it would be an integer.

PHP код:
PlayerInfo[playerid][ID] = cache_get_field_int(0"ID"); 
PHP код:
cache_get_field_int(row, const field_name[])
{
    new
        
str[12]
        ;
      
cache_get_field_content(rowfield_namestrmysql);
       return 
strval(str);

If not, check if there is no crash in the other, at the point of having a size more large which the size of the cell.
Reply


Messages In This Thread
Name suddenly null? - by MartinSwag - 23.08.2015, 16:53
Respuesta: Name suddenly null? - by Zume - 23.08.2015, 17:28

Forum Jump:


Users browsing this thread: 3 Guest(s)