CreateDynamicPickup - Diffrent returns
#1

Hey guys.
I have a problem with the function CreateDynamicPickup by incognito.

First I use this, to save the created pickupid in an array:
Code:
BauteilInfo[pickupid][PickupID] = CreateDynamicPickup(1576, 1, X, Y, Z+1, -1, -1, -1, 100.0);
This works fine - the result is e.g. 98.

Just a few lines later I use:
Code:
PanzerungInfo[pickupid][PickupID] = CreateDynamicPickup(1114, 1, X, Y, Z+1, -1, -1, -1, 100.0);
But everytime the return of the second function is 1 - even if the created pickup has the id 102. I mean - it's the same function, isn't it....

Hope somebody can help me
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)