Mistrick / MapManagerModular

28 stars 22 forks source link

Fix calling forward `server_changelevel()` #45

Closed Nord1cWarr1or closed 11 months ago

Nord1cWarr1or commented 1 year ago

https://www.amxmodx.org/api/amxmodx/server_changelevel

This is only called if the mod itself handles the map change. The server command "changelevel", which is used by many plugins, will not trigger this forward. Unfortunately, this means that in practice this forward can be unreliable and will not be called in many situations.

AMXX 1.8.3 has added the engine_changelevel() function, which will utilize the correct engine function to change the map, and therefore trigger this forward.

Nord1cWarr1or commented 1 year ago

@Mistrick ping