Advertisement
Guest User

Untitled

a guest
Jun 29th, 2014
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. #include <sourcemod>
  2.  
  3. public Plugin:myinfo =
  4. {
  5.     name = "",
  6.     author = "",
  7.     description = "",
  8.     version = PLUGIN_VERSION,
  9.     url = ""
  10. };
  11.  
  12. public OnPluginStart()
  13. {
  14.     HookEvent("teamplay_game_over", OnMapTimerEnd);
  15. }
  16.  
  17. public Action:OnMapTimerEnd(Handle:event, const String:name[], bool:dontBroadcast)
  18. {
  19.     new String[32] nextMap;
  20.     GetNextMap(nextMap, sizeof(nextMap));
  21.     ForceChangeLevel(nextMap, "reason for changing map");
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement