SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/05/2014, 10:34 PM   #1
sagosagi1
Little Clucker
 
Join Date: Apr 2014
Posts: 34
Reputation: 0
Default CreateDynamicPickup returns wrong id

Hello to everybody!
I have a problem that all pickups returns wrong id and much repeats id.

That was after i installed Streamer Plugin v2.7.1 and changed all CreatePickup to CreateDynamicPickup. The problem in the streramer? What to do
sagosagi1 is offline   Reply With Quote
Old 05/05/2014, 11:53 PM   #2
PinEvil
Banned
 
Join Date: Mar 2012
Location: United Kingdom ********************* Pr@gr4mm4r
Posts: 182
Reputation: 20
Default Re: CreateDynamicPickup returns wrong id

Do you get an error?
PinEvil is offline   Reply With Quote
Old 06/05/2014, 12:51 AM   #3
sagosagi1
Little Clucker
 
Join Date: Apr 2014
Posts: 34
Reputation: 0
Default Respuesta: CreateDynamicPickup returns wrong id

No, i already resolved this problem. I forgot to add the
Quote:
#define OnPlayerPickUpPickup OnPlayerPickUpDynamicPickup
sagosagi1 is offline   Reply With Quote
Old 06/05/2014, 03:11 AM   #4
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,759
Reputation: 754
Default Re: CreateDynamicPickup returns wrong id

If you create/delete pickups via in-game the ids of the pickups will get mixed up. If you have this problem then you will have to fix it via script. Just a note.
SickAttack 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 - Diffrent returns Leenert Scripting Help 0 17/06/2013 07:56 PM
MySQL returns wrong field?! starmaster014 Scripting Help 0 27/05/2012 08:14 PM
This returns the wrong timestamp. Dokins Scripting Help 1 02/04/2012 06:09 PM
inputtext[] returns wrong number lukas567 Scripting Help 1 01/03/2012 12:00 PM
Returns wrong Unknown123 Help Archive 2 24/06/2011 04:51 AM


All times are GMT. The time now is 07:35 PM.


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