Pickup type - 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: Pickup type (
/showthread.php?tid=397297)
Pickup type -
Moron - 04.12.2012
Is there a pickup type that doesn't disappear when you pick it up, but also doesn't pick up again if you keep standing on it? Just like a checkpoint, that doesn't get disabled when you step on it.
Re: Pickup type -
RenovanZ - 04.12.2012
Use CreateDynamicPickup(pickupid, 1 [[this is mean your pickup will not dissapear]], Float X, Float Y, Float Z, Virtual World)
or use CreatePickup(pickupid, 23[[this is mean your pickup will not dissapear]], Float X, Float Y, Float Z)
If I Help you, +Rep please
Re: Pickup type -
Konstantinos - 04.12.2012
Quote:
Originally Posted by Kiyozi_Mu
If I Help you, +Rep please
|
..
Check the types.
Код:
Available Pickup Types
0 The pickup does not display.
1 Not pickupable, exists all the time. (Suitable for completely scripted pickups using OnPlayerPickUpPickup)
2 Pickupable, respawns after some time.
3 Pickupable, respawns after death
4 Disappears shortly after created (perhaps for weapon drops?)
5 Disappears shortly after created (perhaps for weapon drops?)
8 Pickupable, but has no effect. Disappears automatically.
11 Blows up a few seconds after being created (bombs?)
12 Blows up a few seconds after being created.
13 Slowly decends to the ground.
14 Pickupable, but only when in a vehicle.
15 Pickupable, respawns after death
19 Pickupable, but has no effect (information icons?)
22 Pickupable, respawns after death.