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



OnPlayerPickup - ShadowBlack - 06.05.2018

helllo, i have an quest when i have created an dynamicobject, and i want when a player pickup object send a message and delete object, where i can put this? at onplayerpickupdynamicpickup or at onplayerpickuppickup, it's an dynamic object help me


Re: OnPlayerPickup - TadePoleMG - 06.05.2018

You make dynamic pickup then try it to put under
PHP код:
 OnPlayerPickupDynamicPickup(playeridpickupid)
{
return 
1;




Re: OnPlayerPickup - Sew_Sumi - 06.05.2018

By looking through your current threads, I could decipher what you are actually after.

Stick to one thread for a topic next time.

What he's wanting, is a pickup, that when you pick it up, it destroys a dynamic object and sends out a message.

(And even that's a questionable translation...)


Re: OnPlayerPickup - ShadowBlack - 06.05.2018

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
By looking through your current threads, I could decipher what you are actually after.

Stick to one thread for a topic next time.

What he's wanting, is a pickup, that when you pick it up, it destroys a dynamic object and sends out a message.

(And even that's a questionable translation...)
no, it's a object, that when i pickup the object, destroy the object. it's all. but if i put on onplayerpickupdynamicpickup not working


Re: OnPlayerPickup - Sew_Sumi - 06.05.2018

Quote:
Originally Posted by ShadowBlack
Посмотреть сообщение
no, it's a object, that when i pickup the object, destroy the object. it's all. but if i put on onplayerpickupdynamicpickup not working
Like, man... You need to learn to script or something, because every thread I've seen from you is a tangled mess of "How do I do this" *Someone explains what you use* "But how do I do this" *Someone explains how to actually do it* "Can you give me example code"...


Seriously, there is a point at which you have to learn.

Half of the reason you aren't getting responses is because your explanation of what it is you want, is so unclear.


After all, I told you a month or so back how you were to use the object as a pickup, you didn't rep me, nor respond, yet since then, you've made at least 4 threads concerning pickups...


All of those, if you'd responded to the thread I posted in, would've been answered pretty easily.



Mind how many threads you post about the same topic, as you'll end up being noticed, and reprimanded for spam.