Can't destroy dynamic pickups
#1

I can't destroy a dynamic pickup. See below;

PHP код:
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?
Reply
#2

Bump.
Reply
#3

maybe BusinessData[bizid][bizPickup] value gets updated elsewhere? or you create a new pickup before destroying the old one.
Reply
#4

Quote:
Originally Posted by ikey07
Посмотреть сообщение
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.
Reply
#5

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.
Reply
#6

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)