SA-MP Forums Archive
recreating dynamic pickups - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: recreating dynamic pickups (/showthread.php?tid=632890)



recreating dynamic pickups - Bussyman - 21.04.2017

Hi,

I'am DestroyDynamicPickup and CreateDynamicpickup, i need to recreate pickup in new coordinates. Problem is sometimes pickup is stay at same place.. When i go away coordinates are alright, so i add Streamer_Update, but still sometimes pickup not change their pos. It's bad with streamer?


Re: recreating dynamic pickups - Antenastyle - 21.04.2017

Code of the pickup?


Re: recreating dynamic pickups - Bussyman - 21.04.2017

DestroyDynamicPickup(pickupid);
CreateDynamicPickup(...);


Re: recreating dynamic pickups - Antenastyle - 21.04.2017

Which pickup do you want yo remove/change?
It's a pickup that you've created?
Probably I'm not understanding your question, ir you could explain ir better, I'll help you