06.10.2012, 01:06
Hi SA-MP Community,
How to assign an object its own variable?
Like I created an object, suppose that object is a mine. When I drive my car on the mine, the object should be destroyed along with the car. Though the object is destroyed, then also the object(not virtually, the saved position of the object) is still there.
I want that object also be destroyed not only virtually. So I tried assigning a variable to the specific object, but failed.
I have tried assigning a variable to the object when it is created.
When I return
All the rest objects which I created earlier were also disabled.
I want that specific object(over which I drove my car) to be disabled.
How to assign an object its own variable?
Like I created an object, suppose that object is a mine. When I drive my car on the mine, the object should be destroyed along with the car. Though the object is destroyed, then also the object(not virtually, the saved position of the object) is still there.
I want that object also be destroyed not only virtually. So I tried assigning a variable to the specific object, but failed.
I have tried assigning a variable to the object when it is created.
pawn Код:
MinInfo[mCreated] = 1;
pawn Код:
MineInfo[mCreated] = 0;
I want that specific object(over which I drove my car) to be disabled.