SA-MP Forums Archive
DestroyObject not 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: DestroyObject not working (/showthread.php?tid=366762)



DestroyObject not working - deimantas1 - 07.08.2012

Hi all, DestroyObject function not working.

I make it:
Код:
kairen[playerid] = CreateObject(19294,0,0,-1000,0,0,0,100);
			AttachObjectToVehicle(kairen[playerid], GetPlayerVehicleID(playerid), -0.824999,2.025000,-0.225000,0.000000,0.000000,0.000000);
And DestroyObject:
Код:
DestroyObject(kairen[playerid]);
Sorry, my bad English language.