SA-MP Forums Archive
Pickup - 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: Pickup (/showthread.php?tid=584267)



Pickup - Marbles - 03.08.2015

Hello how can i create an pickup object That when i will pickup him wont destroy just give mee what i want


Re: Pickup - LazyB0y - 03.08.2015

Use https://sampwiki.blast.hk/wiki/CreatePickup for creating a pickup..https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup checking if a player picked the pickup and then https://sampwiki.blast.hk/wiki/DestroyPickup destroying it!


Re: Pickup - Marbles - 03.08.2015

I dont want to destroy it

When PlayerPickUp it it go to hide
I dont want this


Re: Pickup - LazyB0y - 03.08.2015

There is no function for hiding pickup only Destroying it


Re: Pickup - Marbles - 03.08.2015

NVM fixed Thanks


Re: Pickup - Marbles - 03.08.2015

See the pictures
after i pickup it got destroyed
I dont want this

PHP код:
CP[i] = CreatePickup(1314,2,ZoneInfo[i][pointPos][0],ZoneInfo[i][pointPos][1],ZoneInfo[i][pointPos][2],-1); 



Re: Pickup - LazyB0y - 03.08.2015

You don't want to destroy it?


Re: Pickup - Marbles - 03.08.2015

yes this is what i mean


Re: Pickup - Marbles - 04.08.2015

AnyOne ?


Re: Pickup - Marbles - 04.08.2015

Please someone help mee