Pickup BUG, Pickups not showing at a certain area in Bayside!
#1

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.
Reply
#2

Did you exceeded the pickups limits?
Reply
#3

Try using Streamer
pawn Код:
CreateDynamicPickup
Reply
#4

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.....
Reply
#5

Bump
Reply
#6

Was this what you wanted? , It's one example

pawn Код:
OnePickup = CreatePickup(1318, 1, -3607.2383,1581.7090,11.6167, -1);
Reply
#7

You're not explaining very clearly.
Reply
#8

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;
}
Reply
#9

Might be caused by your virtual world?
Reply
#10

virtual world is 0.. look at the picture, ALL pickups are created but only some are actually shown...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)