two errors
#1

Help-me w\ this erros:

PHP код:
error 035argument type mismatch (argument 3)
error 047: array sizes do not match, or destination array is too small 
PHP код:
enum F_DATA
{
    
fazenda_Owner[32]
};
new
    
Farming_Info[MAX_FAZENDAS][F_DATA]; 
Код:
Farming_Info[fid][fazenda_Owner] = DOF2_GetString(d_d,"fazenda_Owner",34);
Reply
#2

You can't format a string with the "equal sign". Use strcpy or format.
Reply
#3

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
You can't format a string with the "equal sign". Use strcpy or format.
hm, I did with format and now I get this error.

Quote:

: error 001: expected token: ",", but found ";"

PHP код:
format(Farming_Info[fid][fazenda_Owner], 128"%s"DOF2_GetString(d_d,"fazenda_Owner"); 
Reply
#4

Read your code before posting :s
You are missing a ')'..
Reply
#5

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Read your code before posting
You are missing a ')'..
really is a lot of inattention, I'm sorry and thank you I'll rate it with rep...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)