27.10.2009, 23:21
It seems that I was calling OnPlayerPickupPickup rather than OnPlayerPickUpPickup. My custom pickup callback has also been renamed to reflect these changes. Thanks for the report.
I have released v2.1:
You can now specify custom streaming distances like this:
By default, all items have a streaming distance of 200.0.
I have released v2.1:
Quote:
v2.1: - Made all streaming distances customizable via an extra optional parameter - Removed global distance natives and slightly renamed a few other natives related to the settings to make them a bit less confusing - Fixed a small issue with pickups that involved a typo in the include file - Renamed the custom pickup callback to OnPlayerPickUpDynamicPickup (note the capitalization) |
pawn Код:
CreateDynamicObject(2585, 10.0, 10.0, 10.0, 0.0, 0.0, 0.0, -1, -1, -1, 100.0); // All virtual worlds, interiors, players, and a distance of 100.0