SA-MP Forums Archive
How to disable text when pick up oyster? - 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: How to disable text when pick up oyster? (/showthread.php?tid=569234)



How to disable text when pick up oyster? - Professional_Programmer - 29.03.2015

Hi guys.

Exists some way to disable this text when picking up a oyster?


Thanks.


Re: How to disable text when pick up oyster? - CalvinC - 29.03.2015

There's no oysters in SA-MP, so it's a custom done script, just remove the GameTextForPlayer that shows the text.
It could be a textdraw as well.


Re: How to disable text when pick up oyster? - Vince - 29.03.2015

No, this is coded into the actual game. Same thing happens if you take a photo of the photo-op icon. Health, armour and weapon icons also have default actions associated with them. Try pickup type 1.
Quote:

Disables pickup scripts such as horseshoes and oysters to allow for scripted actions ONLY

https://sampwiki.blast.hk/wiki/PickupTypes


Re: How to disable text when pick up oyster? - Professional_Programmer - 29.03.2015

Quote:
Originally Posted by Vince
Посмотреть сообщение
No, this is coded into the actual game. Same thing happens if you take a photo of the photo-op icon. Health, armour and weapon icons also have default actions associated with them. Try pickup type 1.

https://sampwiki.blast.hk/wiki/PickupTypes
Thanks. It works.