Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- public Plugin:myinfo =
- {
- name = "",
- author = "",
- description = "",
- version = PLUGIN_VERSION,
- url = ""
- };
- public OnPluginStart()
- {
- HookEvent("teamplay_game_over", OnMapTimerEnd);
- }
- public Action:OnMapTimerEnd(Handle:event, const String:name[], bool:dontBroadcast)
- {
- new String[32] nextMap;
- GetNextMap(nextMap, sizeof(nextMap));
- ForceChangeLevel(nextMap, "reason for changing map");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement