OnPlayerShootDynamicObject issue
#2

When you destroy dInfo[i][DeerObject] set its value to 0. Also, you shouldn't set its position right before destroying it.
pawn Code:
DestroyDynamicObject(dInfo[i][DeerObject]);

dInfo[i][DeerObject] = 0;
The problem about deleting the entire map (I guess not the GTA:SA map ?) of CreateDynamicObject s (?) is a problem from your storing of IDs.
Reply


Messages In This Thread
OnPlayerShootDynamicObject issue - by TwinkiDaBoss - 07.06.2016, 13:36
Re: OnPlayerShootDynamicObject issue - by IstuntmanI - 07.06.2016, 14:13
Re: OnPlayerShootDynamicObject issue - by TwinkiDaBoss - 07.06.2016, 19:38
Re: OnPlayerShootDynamicObject issue - by TwinkiDaBoss - 07.06.2016, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)