05.06.2017, 14:21

(

*Последний раз редактировалось ThomasEvil; 05.06.2017 в 15:21.*)
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.
and

2.
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.
is called under OnDialogResponse so if player response
Anyone can solve this problem without any code?

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);

2.

Код:

pPickup[500] = CreatePickup(1272,1,x,y,z,0);

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);

Код:

pPickup[500] = CreatePickup(1272,1,x,y,z,0);