Mariu22S

  • Jr. Member
  • Posts: 80

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,164

Gudio

  • Full Member
  • Gudio.eu
  • Posts: 125
Re: Again Pickup Problem
« Reply #2, on April 19th, 2015, 09:48 AM »
Dalej używasz timerów? Przekazuj ID i używaj FindPickup.

Mariu22S

  • Jr. Member
  • Posts: 80
Re: Again Pickup Problem
« Reply #3, on April 19th, 2015, 09:50 AM »
Z timer'ami działa , ale po tych aktualizacjach było dobrze bez timerów teraz okazuje się znowu że nadal nie działa i trzeba stosować timery.Bo inaczej serwer pada.

Gudio

  • Full Member
  • Gudio.eu
  • Posts: 125
Re: Again Pickup Problem
« Reply #4, on April 19th, 2015, 09:57 AM »
Stwórz pickupa i zapisz jego ID w jakiejś tabeli, w której znajdzie się również przykładowo nazwa gracza.
W onPickupClaimPicked sprawdź ID od tabeli i porównaj nazwę gracza, który go podnosi. Jeżeli to jest ten, który wyszedł, return 0, a jak ok to return 1.

Mam nadzieję, że to pomoże.

Mariu22S

  • Jr. Member
  • Posts: 80
Re: Again Pickup Problem
« Reply #5, on April 19th, 2015, 10:16 AM »
Może coś źle zrobiłem, ale pickup który tworzy się na wyjściu ma ID null co jest dziwne.Nawet komenda /gotopic nie widzi tego pickup tak jakby go nie było taki Ghost.

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,804
Re: Again Pickup Problem
« Reply #6, on April 19th, 2015, 11:19 AM »
Thanks guys. Your contribution to the topic will definitely help other users that have this issue as well. (this one included)
.

Mariu22S

  • Jr. Member
  • Posts: 80

Gudio

  • Full Member
  • Gudio.eu
  • Posts: 125
Re: Again Pickup Problem
« Reply #8, on April 19th, 2015, 02:09 PM »
Quote from S.L.C on April 19th, 2015, 11:19 AM
Thanks guys. Your contribution to the topic will definitely help other users that have this issue as well. (this one included)
Stop repeating yourself.
You shouldn't really know what did I write here. The issue hasn't been solved yet, so it's pointless to translate bullshit that we are talking about. Mariu22S can't explain it in english properly, so I switched to polish to understand his issue again, as usual.

He's creating a pickup in onPlayerPart event. When it's picked up, the server immediately crashes.

@Mariu22S
Na razie używaj timerów (nie są takie złe jak to o nich zazwyczaj się mówi). Jak znajdę trochę czasu to zdebuguję i zobaczę co jest grane.

Mariu22S

  • Jr. Member
  • Posts: 80

.

  • VC:MP Beta Tester
  • .
  • Posts: 1,804
Re: Again Pickup Problem
« Reply #10, on April 19th, 2015, 08:19 PM »
Quote from Gudio on April 19th, 2015, 02:09 PM
Stop repeating yourself.
You shouldn't really know what did I write here. The issue hasn't been solved yet, so it's pointless to translate bullshit that we are talking about. Mariu22S can't explain it in english properly, so I switched to polish to understand his issue again, as usual.
Well, if you want to speak in your native language. Why not use the PM system and then post the solution here :-\
.