Quote:
Originally Posted by Lajko1
Well that's why it add 2 objects on your car
pawn Код:
obj[pveh] = CObject(19419, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); obj2[pveh] = CObject(19419, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AObject(obj[pveh], pveh, 0.000000, -1.574999, 0.344999, -5.000000, 0.000000, 0.000000); AObject(obj2[pveh], pveh, 0.000000, 2.574999, 0.344999, -5.000000, 0.000000, 0.000000);
and use DestroyObject to remove it...
|
I am using DObject ( Destroy Object ) to remove it. And that code is exactly what I have under the case. I want to know how to remove them both when /siren is done for the second time ( So /siren is exectuted, both sirens show up, and then I want it to remove both not only one when /siren is done again. )