cursed place? lol
#1

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.
Reply
#2

It is meant to be there :/
Reply
#3

Maybe the pickup type you're using?

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

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

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)
Reply
#6

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
Reply
#7

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

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

yea thats definitly it...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)