: error 001
#9

It gives the error because it expects arrays as parameters but it founds integers:
pawn Код:
function610(arg0[], arg1[])
Nonetheless, I believe you want this function to copy a string to another but you can use strcat for that:
pawn Код:
#define strcpy(%0,%1) strcat((%0[0] = '\0', %0), %1)
and an example:
pawn Код:
new
    string[5],
    string2[5] = "test";

strcpy(string, string2, 5);
string now holds "test" too.
Reply


Messages In This Thread
: error 001 - by psp3 - 20.06.2014, 06:08
Re: : error 001 - by psp3 - 20.06.2014, 06:24
Re: : error 001 - by psp3 - 20.06.2014, 06:36
Re: : error 001 - by Youssef214 - 20.06.2014, 06:38
Re: : error 001 - by psp3 - 20.06.2014, 18:31
Re : : error 001 - by Clad - 20.06.2014, 18:35
Respuesta: : error 001 - by Shura - 20.06.2014, 18:35
Re: : error 001 - by psp3 - 20.06.2014, 19:25
Re: : error 001 - by Konstantinos - 20.06.2014, 19:28
Re: : error 001 - by psp3 - 20.06.2014, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)