03.03.2015, 16:33
So in this
try adding this
When the robbery is over or when it failed
Код:
public startRobbery(playerid) { ClearAnimations(playerid); ApplyAnimation(playerid, "ROB_BANK", "CAT_Safe_Rob", 1, 1, 0, 0, 0, 0, 1); DestroyDynamicObject(lockerBank); // You delete the object before adding it again lockerBank = CreateDynamicObject(1829, 2326.22119, -6.84190, 22.63459, 0.00000, 0.00000, -90.00000); // The code to make a locker object return 1; }
Код:
DestroyDynamicObject(lockerBank);