[HELP] warning problem
#1

Quote:

warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)")

But if i remove the line

Код:
#define strcpy(%0,%1,%2) %0="",strcat(%0,%2,%1)
i get other errors

Код:
error 035: argument type mismatch (argument 2)
Whats prob ?
Reply
#2

I did this and works (found it in sa:mp forum)

changed strcpy to strilen and all lines with strcpy to strlen ?

#define strlen(%0,%1,%2) %0="",strcat(%0,%2,%1)

and other lines strcpy to strlen


will it make any probs ?
Reply
#3

pawn Код:
#if defined strcpy
    #undef strcpy
#endif

#define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)
Reply
#4

that wont help i get then

Код:
error 035: argument type mismatch (argument 2)
error
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)