Problem with object
#5

So in this

Код:
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;
}
try adding this
Код:
DestroyDynamicObject(lockerBank);
When the robbery is over or when it failed
Reply


Messages In This Thread
Problem with object - by X337 - 03.03.2015, 14:35
Re : Problem with object - by streetpeace - 03.03.2015, 14:51
Re: Problem with object - by X337 - 03.03.2015, 14:55
Re: Problem with object - by FOTIS6 - 03.03.2015, 16:00
Re: Problem with object - by AchievementMaster360 - 03.03.2015, 16:33
Re: Problem with object - by X337 - 04.03.2015, 13:13

Forum Jump:


Users browsing this thread: 1 Guest(s)