SA-MP Forums Archive
Reset data (pickup, dynamic area) - 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: Reset data (pickup, dynamic area) (/showthread.php?tid=556911)



Reset data (pickup, dynamic area) - qmnty - 12.01.2015

How do I reset the data of the pickup and dynamic area ,

Because when using forward OnPlayerPickupPickup or OnPlayerPickupDynamicPickup
and OnPlayerEnterDynamicArea

on making pickups or dynamic area first no problem .
But after the removal process and manufacture of both pickups or dynamic data on the previous area still exist in the data or dynamic pickup area on the manufacture ,
Example : I give the OnPlayerPickupPickup event , where I put the data to display text house owner , and the making of the second pickup of the same article with the previous one, which should not be owning house .

All I ask .
How to reset the data on the stock pickups and dynamic variable area ?

Thank You

Sorry For My Bad English.