[HELP]I don't know how to resolve
#1

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, ...
Reply
#2

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.
Reply
#3

1) When I change in mod2 i get 32 new errors
2) I don't find GetPointDistanceToPointExMorph
Reply
#4

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
Reply
#5

Change the 'mod' to mod_2
Reply
#6

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.
Reply
#7

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
And not only THIS 'mod', but all others too in there.
Change them aswell, common sense really.
Reply
#8

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.
Reply
#9

Succesfully thx guys !!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)