Jump to content

[REZOLVAT] Problema - oplace


Ionut09
 Share

Recommended Posts

Am căutat puţin pe internet şi cred că problema este tipul setat de tine la pickup, in cazul tau "2".

Citat

 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.
 23 Pickupable, but doesn't disappear on pickup.

 

Link to comment
Share on other sites

29 minutes ago, WiNKs said:

Am căutat puţin pe internet şi cred că problema este tipul setat de tine la pickup, in cazul tau "2".

 

Si cam ce ar trebui sa pun, 8 , nu ?

Aici te referi tu, nu ?

    objectevent[eventobjects] = CreatePickup(objectid, 2, pX+2,pY,pZ, -1);

 

Edited by Ionut09
Link to comment
Share on other sites

1 hour ago, Leonard said:

Nu stiu cum si ce sa fac, sunt incepator. Am mai observat ca daca il iau dispare, dar apare dupa un timp, daca il altcineva nu dispare, dar ia premiul.

Link to comment
Share on other sites

1 hour ago, Ionut09 said:

Si cam ce ar trebui sa pun, 8 , nu ?

Aici te referi tu, nu ?


    objectevent[eventobjects] = CreatePickup(objectid, 2, pX+2,pY,pZ, -1);

 

Foloesti tipul de pickup 1, si dupa in functia OnPlayerPickUpPickup verifici daca obiectul pe care jucatorul l-a luat este de event:

 

for(new i = 0; i < sizeof(eventobjects); i++)
{
  if(pickupid == objectevent[i])
  {
    // cod
    break;
  }                                       
}

 

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

4 minutes ago, Ionut09 said:
                objectevent[obj] = 0;

                eventprizeobj[obj] = 0;

                DestroyPickup(objectevent[obj]);

Pune DestroyPickup(objectevent[obj]); prima data.

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...