PDA

View Full Version : cursed place? lol


OldDirtyBastard
01/11/2010, 02:30 PM
Im getting a wierd bug, basicly the first pickup i create wont work, but the rest of the pickups will,
like let me explain more detailed:

fhealth = CreatePickup(1240, 2, 2087.7336,1517.3693,10.8203, 0); //Failure Pickup-not working
shiphealth = CreatePickup(1240, 2, 2005.1895,1549.6753,17.6478, 0); //Working
shiparmour = CreatePickup(1242, 2, 2005.3274,1539.8135,17.6460, 0); //Working


If i would change the lines like this would hapen


shiphealth = CreatePickup(1240, 2, 2005.1895,1549.6753,17.6478, 0); //Failure Pickup-not working
fhealth = CreatePickup(1240, 2, 2087.7336,1517.3693,10.8203, 0); //Working
shiparmour = CreatePickup(1242, 2, 2005.3274,1539.8135,17.6460, 0); //Working


Its realy wierd, if anyone has a good explanation to this bug, i would love to know it.
Thanks regards.

Luis-
01/11/2010, 05:04 PM
It is meant to be there :/

WillyP
01/11/2010, 05:15 PM
Maybe the pickup type you're using?

This forum requires that you wait 120 seconds between posts. Please try again in 2 seconds.

OldDirtyBastard
01/11/2010, 05:35 PM
shiphealth = CreatePickup(1240, 2, 2015.5616,1540.2506,13.2850, 0);
shiparmour = CreatePickup(1242, 2, 2015.6981,1550.2617,13.2850, 0);

Matej_
01/11/2010, 05:41 PM
this should 100% work. :)

shiphealth = CreatePickup(1240, 23, 2015.5616,1540.2506,13.2850, 0);
shiparmour = CreatePickup(1242, 23, 2015.6981,1550.2617,13.2850, 0)

OldDirtyBastard
01/11/2010, 05:53 PM
still, i pick it up, it dissapears, never comes back...

EDIT :lol, you wont belive how i fixed it, so basicly the first pickup in my script is like a "Failiure Pickup"
and the rest of the pickups UNDER the failuire pickup WORKS, its magnificent :D

Luis-
01/11/2010, 07:36 PM
shiphealth = CreatePickup(1240, 1, 2015.5616,1540.2506,13.2850, 0);
shiparmour = CreatePickup(1242, 1, 2015.6981,1550.2617,13.2850, 0);

dugi
01/11/2010, 07:58 PM
It might be related to the pickup bug reported few months ago: http://forum.sa-mp.com/showthread.php?t=124330

OldDirtyBastard
01/11/2010, 08:04 PM
yea thats definitly it...