CreateDynamicPickupEx syntax wrong?
#1

Hello
I have never worked with CreateDynamicPickupEx until few days ago. I decided to start using this function because I need only one pickup for several specific virtual worlds.
The problem is that it doesn't work fine, sometimes the pickups don't appear, this happen randomly, sometimes the pickups are shown sometimes no, so I am asking if I'm using the right syntax, here is an example:
CreateDynamicPickupEx(GetWeaponModel(WEAPON_SHOTGS PA), 1, 187.9778,389.8757,2369.1978, 100.0, {14, 15, 16, 17, 18, 19})
Here is the native:
native CreateDynamicPickupEx(modelid, type, Float, Float:y, Float:z, Floattreamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
Also the pickups aren't shown if I use a command to change my virtual world inside the place where pickups are placed, eg:
http://*********/nhymyWOVKcs
I'm in the place where the pickups are placed, I can see them
My current virtual world is 14
I type /changeworld 15
My virtualworld is changed to 15, but the pickups have dissapeared
I type /changeworld 14
The pickups are shown again
I leave the place, my virtualworld is now 0
I pick up a pickup that teleports me to the place (IT ONLY does that), and sets me the virtual world 15, then I see the pickups and my virtual world is 15!
What the hell?
Thanks if you can help me.
Reply


Messages In This Thread
CreateDynamicPickupEx syntax wrong? - by Su37Erich - 24.05.2015, 20:45
Re: CreateDynamicPickupEx syntax wrong? - by Konstantinos - 24.05.2015, 21:06
Re: CreateDynamicPickupEx syntax wrong? - by Su37Erich - 26.05.2015, 01:35
Re: CreateDynamicPickupEx syntax wrong? - by Su37Erich - 27.05.2015, 15:50
Re: CreateDynamicPickupEx syntax wrong? - by Yashas - 30.05.2015, 16:57
Re: CreateDynamicPickupEx syntax wrong? - by Su37Erich - 02.06.2015, 03:34
Re: CreateDynamicPickupEx syntax wrong? - by Su37Erich - 10.07.2015, 03:17

Forum Jump:


Users browsing this thread: 3 Guest(s)