Reload the object - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Reload the object (
/showthread.php?tid=159919)
Reload the object -
samuel_hamza - 14.07.2010
Well, there are some object which are destroyable, and not visual anymore , like trafic cono, if I shot it, it disappears, I want to define it with "new" then I just want to know function or something to reload it again... with command, I know how to make command, etc, just function I know how to get ID etc, I'm talking about function like DestroyVehicle
Re: Reload the object -
Peep - 15.07.2010
You can use Destroy object and create object for that too.
example:
DestroyObject( object1 );
object1 = CreateObject(968,1544.700317,-1630.735717,12.924660,0.000000,0.000000,270.972869 ,500);