Posts: 2,938
Threads: 162
Joined: May 2010
03.04.2012, 22:27
(
Последний раз редактировалось Kar; 04.04.2012 в 00:44.
)
pawn Код:
[18:16:16] Creating Map pickupid: 2 - x: -2619.19 - y: 2238.70 - z: 4.52
[18:16:16] Creating Map pickupid: 6 - x: -2636.80 - y: 2255.16 - z: 13.13
[18:16:16] Creating Map pickupid: 11 - x: -2627.77 - y: 2249.73 - z: 7.71
[18:16:16] Creating Map pickupid: 31 - x: -2601.03 - y: 2250.40 - z: 7.72
it seems to be a pickup bug with id 14, streamer won't help, test it yourself.
Posts: 5,314
Threads: 12
Joined: Aug 2010
Reputation:
0
Did you exceeded the pickups limits?
Posts: 2,938
Threads: 162
Joined: May 2010
pawn Код:
[18:16:16] Creating Map pickupid: 2 - x: -2619.19 - y: 2238.70 - z: 4.52
[18:16:16] Creating Map pickupid: 6 - x: -2636.80 - y: 2255.16 - z: 13.13
[18:16:16] Creating Map pickupid: 11 - x: -2627.77 - y: 2249.73 - z: 7.71
[18:16:16] Creating Map pickupid: 31 - x: -2601.03 - y: 2250.40 - z: 7.72
it seems to be a pickup bug with id 14, streamer won't help, test it yourself.
-- wow i accidentally edited the main post and deleted everything.....
Posts: 2,938
Threads: 162
Joined: May 2010
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
You're not explaining very clearly.
Posts: 2,938
Threads: 162
Joined: May 2010
Sorry, the post got edited and everything got removed by accident..
Anyway here
pawn Код:
[18:16:16] Creating Map pickupid: 2 - x: -2619.19 - y: 2238.70 - z: 4.52
[18:16:16] Creating Map pickupid: 6 - x: -2636.80 - y: 2255.16 - z: 13.13
[18:16:16] Creating Map pickupid: 11 - x: -2627.77 - y: 2249.73 - z: 7.71
[18:16:16] Creating Map pickupid: 31 - x: -2601.03 - y: 2250.40 - z: 7.72
The pickups are created buttt
pawn Код:
stock CreatePickupEx(type, Float:x, Float:y, Float:z, virtualworld = 0, pickuptype = -1)
{
new pickupid = FindFreePickupSlot(), cpickupid, model, text3D[33];
if(pickupid >= MAX_PICKUPS_EX)
{
return 0;
}
PickupSlots[pickupid] = 1;
switch(pickuptype)
{
case PICKUPTYPE_HEALTH: model = 1240;
default: model = 3786;
}
cpickupid = CreatePickup(model, type, x, y, z, virtualworld);
//printf("Creating Map pickupid: %d | %d - x: %0.2f - y: %0.2f - z: %0.2f - world: %d", pickupid, cpickupid, x, y, z, virtualworld);
PickupInfo[pickupid][Pickupid] = cpickupid;
PickupInfo[pickupid][Modelid] = model;
PickupInfo[pickupid][Type] = type;
PickupInfo[pickupid][PickupX] = x;
PickupInfo[pickupid][PickupY] = y;
PickupInfo[pickupid][PickupZ] = z;
PickupInfo[pickupid][VirtualWorld] = virtualworld;
PickupInfo[pickupid][Pickuptype] = pickuptype;
PickupInfo[pickupid][Created] = true;
switch(pickuptype)
{
case PICKUPTYPE_HEALTH: text3D = "{FF0000}Health";
default: text3D = "{FFDD00}None";
}
PickupInfo[pickupid][Pickuptext] = Create3DTextLabel(text3D, 0xFFFFFFFF, x, y, z + 0.3, 50.0, 0);
return pickupid;
}
Posts: 720
Threads: 34
Joined: Dec 2010
Reputation:
0
Might be caused by your virtual world?
Posts: 2,938
Threads: 162
Joined: May 2010
virtual world is 0.. look at the picture, ALL pickups are created but only some are actually shown...