[HELP]I don't know how to resolve -
cotyzor - 12.11.2011
Zonek.pwn(40) : warning 201: redefinition of constant/macro (symbol "MAX_STRING")
Zonek.pwn(14462) : warning 219: local variable "mod" shadows a variable at a preceding level
Zonek.pwn(41957) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
lines (39 - 41):
Код:
#define DRUGS_DELAY 6
#define MAX_STRING 300
//==============================================================================
lines (14461 - 14463):
Код:
}
new mod = 100;
tmp = strtok(cmdtext, idx);
lines 41957: DON'T FIND ... The last line is 41957 and nothing there, ...
Re: [HELP]I don't know how to resolve -
Jaxson - 12.11.2011
Undefine the MAX_STRING macro before redefining it:
Код:
#define DRUGS_DELAY 6
#undef MAX_STRING
#define MAX_STRING 300
Rename the mod variable to something else:
Код:
new mod2 = 100;
tmp = strtok(cmdtext, idx);
Find GetPointDistanceToPointExMorph in your script and delete it. It isn't used anyway.
Re: [HELP]I don't know how to resolve -
cotyzor - 12.11.2011
1) When I change in mod2 i get 32 new errors

2) I don't find

GetPointDistanceToPointExMorph
Re: [HELP]I don't know how to resolve -
cotyzor - 12.11.2011
Sorry for x2 ... I resolve all but
" warning 219: local variable "mod" shadows a variable at a preceding level " .... i don't know how to ressolve
Re: [HELP]I don't know how to resolve -
Stigg - 12.11.2011
Change the 'mod' to mod_2
Re: [HELP]I don't know how to resolve -
MadeMan - 12.11.2011
Quote:
Originally Posted by cotyzor
Sorry for x2 ... I resolve all but
" warning 219: local variable "mod" shadows a variable at a preceding level " .... i don't know how to ressolve
|
Quote:
Originally Posted by Stigg
Change the 'mod' to mod_2
|
And not only THIS 'mod', but all others too in there.
Re: [HELP]I don't know how to resolve -
Stigg - 12.11.2011
Quote:
Originally Posted by MadeMan
And not only THIS 'mod', but all others too in there.
|
Change them aswell, common sense really.
Re: [HELP]I don't know how to resolve -
MadeMan - 12.11.2011
Quote:
Originally Posted by Stigg
Change them aswell, common sense really.
|
Quote:
Originally Posted by cotyzor
1) When I change in mod2 i get 32 new errors 
|
Obviously not for him.
Re: [HELP]I don't know how to resolve -
cotyzor - 12.11.2011
Succesfully thx guys !!!!