Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Remove the strcpy from your script, it's already defined in YSI.
And add the keyword stock before strtok to get rid of the warning.
Posts: 1,409
Threads: 376
Joined: Apr 2012
Reputation:
0
Where i can find strcpy in my script when i type it in the search console it dont appear, lol
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
From where that warning was given? File name?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
No, it should be YSI\y_va
I meant the warning was given by what file? Not, what you added and it appeared. Before this "warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1)")" says the file and the line, so which file and line was?
Posts: 1,409
Threads: 376
Joined: Apr 2012
Reputation:
0
that is the line of a createdynamicobject for the map(s). i dont know why this error come.
Posts: 3,004
Threads: 12
Joined: May 2011
A simple & quick fix if you desire to compile it only.
pawn Код:
#if !defined strcpy
#define strcpy(%0, %1, %2) strcat(%0, %1, %2)
#endif
#pragma unused strtok
Should do the trick.