Strange pickup bug
#1

Hey,
When I reload my FS (OnFilterScriptExit callback has DestroyPickup) and pick up a pickup created by that FS it calls OnPlayerPickUpPickup with wrong pickupid (so I get wrong code executed for that pickup)
Reply
#2

Unsure if it's related, but I broke our pickups the other day, it printed that the ID was 0, but really it was ID 1 (second pickup created).

pawn Код:
CreatePickup(2485,0,0.0,0.0,-20.0,STARTVWORLD_MIN);//dummy pickup

  CreatePickup(2485,1,246.4358,117.7225,1003.2188,STARTVWORLD_MIN);
  CreatePickup(1586,1,252.1006,117.4052,1002.5000,STARTVWORLD_MIN);
  CreatePickup(1518,1,258.5749,109.7042,1003.2188,STARTVWORLD_MIN);
  CreatePickup(2510,1,251.5251,112.1837,1003.2188,STARTVWORLD_MIN);
  CreatePickup(1277,1,240.4717,112.8771,1003.2188,STARTVWORLD_MIN);
  CreatePickup(1255,1,-1947.2568,258.2011,35.53095,STARTVWORLD_MIN);
Quote:

[22:28:37] [Pickup] ID: 32 NAME: Rac3r PICKUPID: 0
[22:29:08] [Pickup] ID: 32 NAME: Rac3r PICKUPID: 0

Really strange.

Just thought I'd add this to the mix. Hopefully it's a not completely unrelated.
Reply
#3

I don't see why it would really matter which ID it picks up, as your script should be tracking the pickup...
Reply
#4

Pickup ID's are still bugged, simple gamemode with instructions on how to reproduce bug here:

http://sa-mp.pastebin.com/CZzWpMzi
Reply
#5

Quote:
Originally Posted by Simon
Посмотреть сообщение
Pickup ID's are still bugged, simple gamemode with instructions on how to reproduce bug here:

http://sa-mp.pastebin.com/CZzWpMzi
Still bugged in 0.3b R2.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)