Pickups in ints?
#1

Hey.. for some reason I'm having a problem..
I'm createing pickups and they disappear...

I'm using them for an object item.. and in interiors only 1 pick up shows..

anyone knows what's the problem? or experiened that before?
Reply
#2

can you show us your createpickup/createdynamicpickup code?
Reply
#3

that's the whole part:

pawn Код:
Create3DTextLabel("Warden's Office \nPress ~k~~PED_SPRINT~ to enter ", 0x7CD64AFF,1829.0688,-1539.9697,5700.4287+0.5,10.0, 0);// Warden's Office Outside
    Create3DTextLabel("Press ~k~~PED_SPRINT~ to exit ", 0x7CD64AFF,-380.1663,1631.4590,999.3043+0.5,10.0, 0);// Warden's Office Inside
    CreatePickup(1239, 1, 1829.0471, -1540.1060, 5700.4482,-1);// Warden's Office Outside
    CreateObject(19198, 1, -380.1663,1631.4590,999.3043,-1);// Warden's Office Inside
    Create3DTextLabel("Detention Facility \nPress ~k~~PED_SPRINT~ to enter ", 0x7CD64AFF,649.3239,-1353.8256,13.5462+0.5,10.0, 0);// Prison Enterance
    Create3DTextLabel("Press ~k~~PED_SPRINT~ to exit ", 0x7CD64AFF,1809.8063,-1514.3379,5700.4287+0.5,10.0, 0);// Prison Exit
    CreatePickup(19198,1 ,649.3239,-1353.8256,13.5462,-1);// Prison Enterance
    CreatePickup(19198,1 ,1809.8063,-1514.3379,5700.4287,-1);// Prison Exit
    Create3DTextLabel("Detention Facility \nPress ~k~~PED_SPRINT~ to enter ", 0x7CD64AFF,732.6467,-1346.8422,13.5133+0.5,10.0, 0);// Yard Enterance
    Create3DTextLabel("Press ~k~~PED_SPRINT~ to exit ", 0x7CD64AFF,732.6467,-1346.8422,13.5133+0.5,10.0, 0);// Yard Exit
    CreatePickup(19198,1, 732.6467,-1346.8422,13.5133,-1);// Yard Enterance
    CreatePickup(19198,1 ,732.6467,-1346.8422,13.5133,-1);// Yard Exit
    Create3DTextLabel("Detention Facility \nPress ~k~~PED_SPRINT~ to enter ", 0x7CD64AFF,649.3239,-1353.8256,13.5462+0.5,10.0, 0);// Roof Enterance
    Create3DTextLabel("Press ~k~~PED_SPRINT~ to exit ", 0x7CD64AFF,722.5659,-1381.6008,25.7176+0.5,10.0, 0);// Roof Exit
    CreatePickup(19198,1 ,649.3239,-1353.8256,13.5462,-1);// Roof Enterance
    CreatePickup(19198,1 ,722.5659,-1381.6008,25.7176,-1);// Roof Exit
    Create3DTextLabel("Detention Facility \nPress ~k~~PED_SPRINT~ to enter ", 0x7CD64AFF,649.2844,-1360.6888,13.5853+0.5,10.0, 0);// Prison Enterance
    Create3DTextLabel("Press ~k~~PED_SPRINT~ to exit ", 0x7CD64AFF,1811.3387,-1514.2278,5700.4287+0.5,10.0, 0);// Prison Exit
    CreateObject(19198,649.2844,-1360.6888,13.5853,0.0,0.0,0.0,300.0);// Prison Enterance
    CreateObject(19198,1811.3387,-1514.2278,5700.4287,0.0,0.0,0.0,300.0);// Prison Exit
Reply
#4

with the standard CreatePickup function, you can only set the virtual world(as far as i can see).
to set the interior, you would need a streamer.
Reply
#5

Refer to Pickup Spawn Type

And make sure they are permanent

Quote:
Originally Posted by Jari_Johnson*
Посмотреть сообщение
with the standard CreatePickup function, you can only set the virtual world(as far as i can see).
to set the interior, you would need a streamer.
Pickups aren't constrained to interiors or virtualworlds, so just place it at the coordinates of the interior.

Check your X,Y,Z of pickups
Reply
#6

I said some of them working... so its not that i'm not doing something wrong with the pick up types... in interiors only 1 pickup working..
outside everything working..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)