SA-MP Forums Archive
cursed place? lol - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: cursed place? lol (/showthread.php?tid=187161)



pickup bug - OldDirtyBastard - 01.11.2010

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:
pawn Code:
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

pawn Code:
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.


Re: cursed place? lol - Luis- - 01.11.2010

It is meant to be there :/


Re: cursed place? lol - WillyP - 01.11.2010

Maybe the pickup type you're using?

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


Re: cursed place? lol - OldDirtyBastard - 01.11.2010

pawn Code:
shiphealth = CreatePickup(1240, 2, 2015.5616,1540.2506,13.2850, 0);
shiparmour = CreatePickup(1242, 2, 2015.6981,1550.2617,13.2850, 0);



Re: cursed place? lol - Matej_ - 01.11.2010

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)


Re: cursed place? lol - OldDirtyBastard - 01.11.2010

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


Re: cursed place? lol - Luis- - 01.11.2010

pawn Code:
shiphealth = CreatePickup(1240, 1, 2015.5616,1540.2506,13.2850, 0);
shiparmour = CreatePickup(1242, 1, 2015.6981,1550.2617,13.2850, 0);



Re: cursed place? lol - dugi - 01.11.2010

It might be related to the pickup bug reported few months ago: https://sampforum.blast.hk/showthread.php?tid=124330


Re: cursed place? lol - OldDirtyBastard - 01.11.2010

yea thats definitly it...