PDA

View Full Version : Can't destroy dynamic pickups


WhoIsYourDaddy
28/02/2016, 05:24 PM
I can't destroy a dynamic pickup. See below;


DestroyDynamicPickup(BusinessData[bizid][bizPickup]);


It always stands where it was. I want it to be disappeared and create another pickup but first pickup doesn't get destroyed. Anyone know this bug? Or is there a function to change/update the dynamic pickup?

WhoIsYourDaddy
28/02/2016, 06:05 PM
Bump.

ikey07
28/02/2016, 07:03 PM
maybe BusinessData[bizid][bizPickup] value gets updated elsewhere? or you create a new pickup before destroying the old one.

WhoIsYourDaddy
28/02/2016, 07:11 PM
maybe BusinessData[bizid][bizPickup] value gets updated elsewhere? or you create a new pickup before destroying the old one.
I put this function before I create another one. And that value doesn't get updated somewhere else.

WhoIsYourDaddy
28/02/2016, 10:19 PM
I debugged it, pickup id was 1 which is businessID+1. But the problem is when I delete it using DestroyDynamicPickup or DestroyPickup, it doesn't disappear. By the way, pickup type is 23.

WhoIsYourDaddy
29/02/2016, 01:05 PM
Bump