04.08.2012, 13:45
Use OnPlayerPickUpPickup(pickupid, playerid)//don't realy know if it's like this but something like this
then you'll have to create a TextDraw, like this
https://sampwiki.blast.hk/wiki/TextDrawCreate
and when a player PickUpPickup you'll show the TextDraw for that player.
Hope you understand something
Or if you wanted to have a dialog you'll have to ShowPlayerDialog instead of ShowPlayerText etc
then you'll have to create a TextDraw, like this
https://sampwiki.blast.hk/wiki/TextDrawCreate
and when a player PickUpPickup you'll show the TextDraw for that player.
Hope you understand something

Or if you wanted to have a dialog you'll have to ShowPlayerDialog instead of ShowPlayerText etc