DesroyObject isn't working! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: DesroyObject isn't working! (
/showthread.php?tid=310243)
DesroyObject isn't working! -
ShOoBy - 11.01.2012
Never mind ... it works now! Lock please!
Re: DesroyObject isn't working! -
§с†¶e®РµРe - 11.01.2012
i think..
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.
Re: DesroyObject isn't working! -
ShOoBy - 11.01.2012
Quote:
Originally Posted by §с†¶e®РµРe
i think..
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?
AW: DesroyObject isn't working! -
Babul - 11.01.2012
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]);
Re: DesroyObject isn't working! -
§с†¶e®РµРe - 11.01.2012
Yeah.That's what i meant by saying why r u removing it two times.
Re: AW: DesroyObject isn't working! -
ShOoBy - 11.01.2012
@Babul & §с†¶e®РµРe
Ah sorry for that .. it was my fault .. thanks guys! + Rep to both!