openmultiplayer / omp-stdlib

Pawn includes
Mozilla Public License 2.0
41 stars 17 forks source link

[Error] The arguments of the UsePlayerGangZoneCheck function do not contain a player identifier #20

Closed shierru closed 9 months ago

shierru commented 11 months ago

When using the new callbacks OnPlayerEnterPlayerGangZone and OnPlayerLeavePlayerGangZone, I found that the UsePlayerGangZoneCheck function lacks an argument (the first one) with a player identifier, which causes an error to be displayed in the console.

Correction: UsePlayerGangZoneCheck(zoneid, bool:enable) => UsePlayerGangZoneCheck(playerid, zoneid, bool:enable)

Line: link

shierru commented 11 months ago

Still, it's not an error, but a flaw :)