Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
crashfort committed Oct 1, 2017
2 parents 696a24e + 0c63d7c commit a277863
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Plugin for tool assisted runs in CSS. Supports stitching a run together with rew

### Commands

- **sm_segmentreplay** - Open main plugin menu.
- **sm_zone_edit** - Open zone edit menu.
- **sm_sta** - Open main plugin menu.
- **sm_zones** - Open zone edit menu.
- **sm_stepback** - Step back a single tick in edit mode.
- **sm_stepforward** - Step forward a single tick in edit mode.
- **+sm_rewind** - Start rewinding with speed factor in edit mode.
Expand Down
2 changes: 1 addition & 1 deletion Source/STA/Checkpoints.inc
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public void CP_OnMapEnd()

public void CP_Init()
{
RegConsoleCmd("sm_zone_edit", STA_ZoneEdit);
RegConsoleCmd("sm_zones", STA_ZoneEdit);
RegConsoleCmd("sm_zone_gridsize", STA_ZoneGridSize);
}

Expand Down
11 changes: 5 additions & 6 deletions Source/surf_segmentplay.sp → Source/SourceToolAssist.sp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <keyvalues>
#include <sdkhooks>
#include <sdktools>
#include <multicolors>

/*
https://forums.alliedmods.net/showthread.php?t=247770
Expand All @@ -29,10 +28,10 @@

public Plugin myinfo =
{
name = "Surf Segment Replay",
author = "CRASH FORT",
name = "Source Tool Assist",
author = "crashfort",
description = "",
version = "1",
version = "3",
url = "https://google.se"
};

Expand Down Expand Up @@ -916,7 +915,7 @@ public void OnPluginStart()
if (!DirExists(dirbuf))
CreateDirectory(dirbuf, 511);

RegConsoleCmd("sm_segmentreplay", STA_ManageReplays);
RegConsoleCmd("sm_sta", STA_ManageReplays);
RegConsoleCmd("sm_respawn", STA_RespawnPlayer);

RegConsoleCmd("sm_stepforward", STA_StepForward);
Expand Down Expand Up @@ -949,7 +948,7 @@ public Action GetBotIDs(Handle timer)
CS_SetClientClanTag(i, "[STA]");

char namebuf[MAX_NAME_LENGTH];
FormatEx(namebuf, sizeof(namebuf), "Cutie");
FormatEx(namebuf, sizeof(namebuf), "crashfort/SourceToolAssist");

SetClientName(i, namebuf);

Expand Down

0 comments on commit a277863

Please sign in to comment.