Help with pickups 0.3 -
BurnOutt - 24.10.2009
can someone help me about the pickups ?
i cant see my pickups on the 0.3 version.
on the 0.2 version i see it, but know i cant see it
there is no erors, no warnings, and i cant see the pickups
i have to put it on other place maybe ?
please help me
Re: Help with pickups 0.3 -
Sergei - 24.10.2009
Recomplie with 0.3 includes.
Answered sizeof(stupidmembers)*sizeof(membersnotsearching) + 1 times already.
Re: Help with pickups 0.3 -
BurnOutt - 24.10.2009
not working, you mean the include
gl_common
gl_spawns
right ?, so its not working =\
Re: Help with pickups 0.3 -
(.Aztec); - 24.10.2009
There's a new parameter.
https://sampwiki.blast.hk/wiki/AddStaticPickup"]SA:MP Wiki[/url]
You need to add a virtual world parameter, -1 for all.
Re: Help with pickups 0.3 -
BurnOutt - 25.10.2009
the link is doesnt working =\
please help me guys, and i need to to #include gl_common
and #include gl_spawns ?
or not ?
please help me
Re: Help with pickups 0.3 -
BurnOutt - 25.10.2009
up
Re: Help with pickups 0.3 -
Ranger898 - 25.10.2009
i have this problem too
Re: Help with pickups 0.3 -
AG Adam - 25.10.2009
Example from wiki:
pawn Код:
public OnGameModeInit( )
{
// Create a pickup for armor.
AddStaticPickup(1242, 2, 1503.3359, 1432.3585, 10.1191, 0);
// Create a pickup for some health, right next to the armour.
AddStaticPickup(1240, 2, 1506.3359, 1432.3585, 10.1191, 0);
//
return 1;
}
Parameters:
(model,type,Float:X,Float:Y,Float:Z,Virtualworld)
[quote=SA:MP Wiki]
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
CreatePickup: Create a pickup.
DestroyPickup: Destroy a pickup.
Related Callbacks
The following callbacks might be useful, as they're related to this function in one way or another.
OnPlayerPickUpPickup: Called when a player picks up a pickup.
Available Pickup Types
0 The pickup does not display.
1 Not pickupable, exists all the time.
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. Falls through objects made with CreateObject, etc.
15 Pickupable, respawns after death
19 Pickupable, but has no effect (information icons?)
22 Pickupable, respawns after death.
23 Pickupable, but doesn't disappear on pickup.
Retrieved from "
https://sampwiki.blast.hk/wiki/AddStaticPickup"
Re: Help with pickups 0.3 -
Sergei - 25.10.2009
AddStaticPickup's are basically useless since they don't return IDs and you can't use them under OnPlayerPickUpPickup. Use CreatePickup instead.
Re: Help with pickups 0.3 -
Ranger898 - 25.10.2009
thx... i had old pawno version