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



Help Me With Pickup - Muhammad213 - 01.08.2014

Hello Guys,

I'm using GarHouse House System,
I'm Using Pickups not Checkpoints
now the problem with house password

when i pick pickup a dialog appearance

Enter House Password
--------------------------------
--------------------------------

After 3-5 seconds the dialog appearance again

Sorry for my bad english!


Re: Help Me With Pickup - Muhammad213 - 02.08.2014

Anyone can help me?


Re: Help Me With Pickup - IceBilizard - 02.08.2014

pickup re-spawn at every 1 or 2 second so if you are on the pickup it keep show after 2 seconds 2 ways to fix this problem

1-
Change pickup type to 2
here is the pickup types https://sampwiki.blast.hk/wiki/PickupTypes

2-
Make variable like if player is in range of house pickup then AtHousePickup[playerid] = 1;
if not in range then AtHousePickup[playerid] = 0;


Re : Help Me With Pickup - Lexus95 - 02.08.2014

What type of pickup you are using ?


Re: Help Me With Pickup - IceBilizard - 02.08.2014

i was having issue with pickup too on my house script i used variable and the problem fixed its on you what way you choose


Re: Help Me With Pickup - McBan - 02.08.2014

Solution 1: Try Type 2, It Should Fix Your Problem. You Can Check All The Types Here: https://sampwiki.blast.hk/wiki/PickupTypes

Solution 2: When The Player Picks Up The Pickup, Just Teleport Him About -2 Co-Ordinates Back So It Doesn't Keep Triggering OnPlayerPickUpPickup.