SA-MP Forums Archive
Pickups in ints? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pickups in ints? (/showthread.php?tid=367561)



Pickups in ints? - Qur - 10.08.2012

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?


Re: Pickups in ints? - Jstylezzz - 10.08.2012

can you show us your createpickup/createdynamicpickup code?


Re: Pickups in ints? - Qur - 10.08.2012

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



Re: Pickups in ints? - Jstylezzz - 10.08.2012

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.


Re: Pickups in ints? - [MM]RoXoR[FS] - 10.08.2012

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


Re: Pickups in ints? - Qur - 10.08.2012

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..