SA-MP Forums Archive
CreateDynamicPickup returns wrong id - 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: CreateDynamicPickup returns wrong id (/showthread.php?tid=511508)



CreateDynamicPickup returns wrong id - sagosagi1 - 05.05.2014

Hello to everybody!
I have a problem that all pickups returns wrong id and much repeats id.

That was after i installed Streamer Plugin v2.7.1 and changed all CreatePickup to CreateDynamicPickup. The problem in the streramer? What to do


Re: CreateDynamicPickup returns wrong id - PinEvil - 05.05.2014

Do you get an error?


Respuesta: CreateDynamicPickup returns wrong id - sagosagi1 - 06.05.2014

No, i already resolved this problem. I forgot to add the
Quote:

#define OnPlayerPickUpPickup OnPlayerPickUpDynamicPickup




Re: CreateDynamicPickup returns wrong id - SickAttack - 06.05.2014

If you create/delete pickups via in-game the ids of the pickups will get mixed up. If you have this problem then you will have to fix it via script. Just a note.