-
Notifications
You must be signed in to change notification settings - Fork 21
Error when collect #2
Comments
I haven't dealt with FiveM at all recently but I'll probably look into it either the coming weekend or next week. |
Okay Bro, Thanks, i'm busy here too, but I will try to find a solution later, if I find the solution I send a PR here in the repo |
Hey, I know it's a little late but I looked into it and there doesn't seem to be an easy way of fixing this. I'll write up some of the stuff I tried for future reference, maybe you can figure all this out. I tried not adding any weapons in the CreateAmbientPickup at all and then listening for the CEventNetworkPlayerCollectedAmbientPickup event to maybe somehow give the player the weapon they requested for through the event handler, if you clicked the link you'll see that it doesn't give you the pickup ID unlike The reason I'm using I also tried removing the weapon case model and using the default weapon model, because through testing I discovered that it synced between players without any work on my side (one person created the pickup and another player picked it up without issues). When I applied this to cratedrop it turned out the pickups break when I attach the crate and parachute to them (worked fine with the weapon case), you could see the pickup but you were unable to pick it up, you just walked over it without anything happening. Doing this without any I hope all of this helps. I might keep trying but for now I didn't figure out a way of doing it. |
if I use the command and another player collects the box he does not receive any weapons
The text was updated successfully, but these errors were encountered: