DesroyObject isn't working!
#1

Never mind ... it works now! Lock please!
Reply
#2

i think..
pawn Код:
DestroyObject(MethO1);
Change - removed the [i] and also why should it be destroyed twice?
Also please use [pawn][ /pawn]tags while pasting code.This is hard to read for some people.
Reply
#3

Quote:
Originally Posted by §с†¶e®РµРe
Посмотреть сообщение
i think..
pawn Код:
DestroyObject(MethO1);
Change - removed the [i] and also why should it be destroyed twice?
no .. I can't remove that [i] .. and it isn't removed twice .. there are actually 2 objects .. look closer .. it's MethO1 and MethO2 ... any other sugestions?
Reply
#4

as already pointed out, there are two similar lines
pawn Код:
DestroyObject(MethO1[i]);
DestroyObject(MethO1[i]);
..which look better here:
pawn Код:
DestroyObject(MethO1[i]);
DestroyObject(MethO2[i]);
Reply
#5

Yeah.That's what i meant by saying why r u removing it two times.
Reply
#6

@Babul & §с†¶e®РµРe

Ah sorry for that .. it was my fault .. thanks guys! + Rep to both!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)