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



OnPlayerPickupPickup - Infinitas - 18.09.2011

I have no idea if this is possible but when someone enters a pickup and shows information it spams them. is there a way to stop the spam?


Re: OnPlayerPickupPickup - =WoR=G4M3Ov3r - 18.09.2011

Show me your OnPlayerPickUpPickUp callback, and point out the pickup that's spammin


Re: OnPlayerPickupPickup - Voldemort - 18.09.2011

GameTextForPlayer

or try to play with pickup types

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


Re: OnPlayerPickupPickup - Infinitas - 18.09.2011

@=WoR=

Its all of them
pawn Код:
if ( pickupid == pk_SUPASAVE )
        {
            SendClientMessage(playerid, COLOR_YELLOW,"everything typed like this spams over and over");
        }
@voldemort I don't like GameTextForPlayer. It might be my pickup types because there all set to 23. I'll mess with them.


Re: OnPlayerPickupPickup - Issam - 18.09.2011

Add, DestroyPickup, or set a timer for it.


Re: OnPlayerPickupPickup - =WoR=Varth - 18.09.2011

Quote:

2 Pickupable, respawns after some time.

Use type 2.