SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 17/06/2013, 07:56 PM   #1
Leenert
Little Clucker
 
Join Date: Nov 2011
Posts: 25
Reputation: 0
Default CreateDynamicPickup - Diffrent returns

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
Leenert is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CreateDynamicPickup Konstantinos Scripting Help 3 16/11/2012 05:56 PM
CreateDynamicPickup Help... RPer Scripting Help 4 28/02/2012 02:32 PM
CreateDynamicPickup Mike Garber Help Archive 14 20/01/2011 09:36 PM
[SOLVED] Diffrent camera areas for diffrent teams on OnPlayerRequestClass _Vortex Help Archive 9 14/08/2009 06:02 AM


All times are GMT. The time now is 10:47 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.