Posts: 2,862
Threads: 11
Joined: Mar 2008
Reputation:
0
This streamer needs complete update since it should also use new IsPlayerInRangeOfPoint instead of PlayerToPoint and OnPlayerUpdate to stream pickups instead of timer loop.
Pickup IDs are also fixed now, so no need to additional checks.
Posts: 386
Threads: 26
Joined: Oct 2008
Reputation:
0
OnPlayerUpdate is called once every second... a timer loop is better to conserve system resources.
Posts: 114
Threads: 1
Joined: Jul 2006
Reputation:
0
This include is somewhat outdated with respect to SA-MP 0.3, however...
@ tackleza, FujiNNN
Regarding warning redefinition of constant/macro (symbol "MAX_PICKUPS"), you should find and replace MAX_PICKUPS in the eRP include with something like MAX_STREAM_PICKUPS. This include has a_samp.inc included and both have MAX_PICKUPS defined, so you will need to change one of these definitions (don't update a_samp.inc).
@ SyNNN
You need to define the OnPlayerPickUpPickup function yourself. Refer to the original thread post with the "installing" instructions.
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
You don't compile and include file.
Posts: 380
Threads: 11
Joined: Feb 2010
Reputation:
0
It has been said that one should reduce MAX_PICKUPS to conserve server resources, is it better to change the define in the include, or to #undef and #define MAX_PICKUPS in the gamemode?
or does it make no difference?