23.05.2009, 08:35
https://sampwiki.blast.hk/wiki/Bugs
quote:
"AddStaticPickup - Doesn't return an id"
"CreatePickup - Pickup ids are often different for different players. I presume it is a problem with keeping track of them and assigning ids for players. This affects OnPlayerPickUpPickup and DestroyPickup as they will be used with different pickups for players. "
my advice is you use playertopoint, as the player stands on the suitcase pickup it destroys it and by using the playertopoint on a timer or onplayerupdate you can know if the player picked it....
quote:
"AddStaticPickup - Doesn't return an id"
"CreatePickup - Pickup ids are often different for different players. I presume it is a problem with keeping track of them and assigning ids for players. This affects OnPlayerPickUpPickup and DestroyPickup as they will be used with different pickups for players. "
my advice is you use playertopoint, as the player stands on the suitcase pickup it destroys it and by using the playertopoint on a timer or onplayerupdate you can know if the player picked it....