[HELP] Pickup insane bug
#1

So...

I use many pickups. Every pickup is on virtual world 0 (no lag).
I use new pPickup[600]; variable so i have 600 pickups.

Now we have this pickups:

1.
Код:
pPickup[200] = CreatePickup(1279,1,x,y,z,0);
and

2.
Код:
pPickup[500] = CreatePickup(1272,1,x,y,z,0);
Pickup 1. give you money if you pick it up.

Pickup 2. show you dialog if you pick it up.

Problem is this:

If you pick up pickup 1. and then you pick up pickup 2.
Pickup 2. show you dialog AND give you money like pickup 1.

What the hell is this If you pick up pickup with weapon and then pick up pickup 2.,
pickup 2. show you dialog AND give you weapon...

HINT: Pickup 2.
Код:
pPickup[500] = CreatePickup(1272,1,x,y,z,0);
is called under OnDialogResponse so if player response
Код:
pPickup[500] = CreatePickup(1272,1,x,y,z,0);
Anyone can solve this problem without any code?

Reply


Messages In This Thread
[HELP] Pickup insane bug - by ThomasEvil - 05.06.2017, 14:21
Re: [HELP] Pickup insane bug - by ThomasEvil - 05.06.2017, 15:23
Re: [HELP] Pickup insane bug - by 1fret - 05.06.2017, 15:29
Re: [HELP] Pickup insane bug - by ThomasEvil - 05.06.2017, 15:40
Re: [HELP] Pickup insane bug - by DeeadPool - 05.06.2017, 15:41
Re: [HELP] Pickup insane bug - by ThomasEvil - 05.06.2017, 15:47
Re: [HELP] Pickup insane bug - by DeeadPool - 05.06.2017, 15:49
Re: [HELP] Pickup insane bug - by ThomasEvil - 05.06.2017, 15:52
Re: [HELP] Pickup insane bug - by DeeadPool - 05.06.2017, 15:54
Re: [HELP] Pickup insane bug - by ThomasEvil - 05.06.2017, 16:09

Forum Jump:


Users browsing this thread: 2 Guest(s)