SA-MP Forums Archive
DestroyObject [HELP] - 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: DestroyObject [HELP] (/showthread.php?tid=298571)



DestroyObject [HELP] [SOLVED] - Amine_Mejrhirrou - 21.11.2011

well i have a small problem :
this is the script
Quote:

if(team[playerid] == 10)
{
DestroyObject(mob1);
mob1 = CreateObject(2906,XX,YY,ZZ+0.6,0,0,0);
mob1 = CreateObject(2908,XX,YY,ZZ+0.6,0,0,0);
CreateExplosion(XX,YY,ZZ, 10,;
return 1;
}

i saw that even if i set the DestroyObject , the objects stay in the map , is that normal ?
================================================== ==================
================================================== ==================
i found how to avoid this


Re: DestroyObject [HELP] - =WoR=G4M3Ov3r - 21.11.2011

https://sampwiki.blast.hk/wiki/CreateObject


https://sampwiki.blast.hk/wiki/DestroyObject


Re : DestroyObject [HELP] - Amine_Mejrhirrou - 21.11.2011

? alrady saw that it dosn't help me