Help Me With Pickup
#1

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!
Reply
#2

Anyone can help me?
Reply
#3

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;
Reply
#4

What type of pickup you are using ?
Reply
#5

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
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)