changelevel
Is there any way to hook "changelevel" command, so you can change the map to something else before the server does?
|
Re: changelevel
public server_changelevel ( map[] )
|
Re: changelevel
or you can hook the intermission and change the map or change the cvar "amx_nextmap"
|
Re: changelevel
To hook changelevel command i'm affraid you have to hook engine, using orpheu or rage module.
|
Re: changelevel
Quote:
You can't actually hook CGameRules::ChangeLevel, use GoToIntermission instead. The advantage of this is that it will not be called when a server admin changes the map via amxmodmenu or amx_map: Code:
|
Re: changelevel
Quote:
Code:
|
All times are GMT -4. The time now is 10:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.