04.01.2017, 18:41
Quote:
I did this command but it does not work, what should I do to show the dialog? Or rather what I did wrong?
PHP код:
|
because of that the processing of the cmd stops exactly when that happens
and you'll get the "unknown command" message
the end condition in your for-loop is incorrect.
it should be
i < MAX_FACTIONS
and not
i != MAX_FACTIONS
for example, lets say
#define DDD (20)
and you do something like
new abc[DDD];
elements range from 0 to DDD-1
if you do
i < DDD
it would stop right before 20
and that's good since
abc[20]
would be out of abc's boundaries