You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the newest streamer plugin and attempting to create a new system for my old gamemode. For this, I wanted to use the function "GetPlayerDynamicAreas()" to check if the player is in an area and to return the correct areas. The problem is that GetPlayerDynamicAreas() and GetDynamicAreasForPoint() just return an empty array.
I am using the newest streamer plugin and attempting to create a new system for my old gamemode. For this, I wanted to use the function "GetPlayerDynamicAreas()" to check if the player is in an area and to return the correct areas. The problem is that GetPlayerDynamicAreas() and GetDynamicAreasForPoint() just return an empty array.
I tested it on OPEN.MP and SA:MP. My test code is: https://pastebin.com/wmBSwP0N
OnPlayerEnterDynamicArea is called, and the area will be created. My debug prints:
So, IsPlayerInAnyDynamicArea, GetPlayerNumberDynamicAreas, and IsPlayerInDynamicArea work correctly. However, GPDA and GDAFP don't work correctly.
The text was updated successfully, but these errors were encountered: