Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainyan authored Oct 31, 2023
1 parent d1723e7 commit 8aecbd5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,21 @@ jobs:
with:
dry_run: false
```
### Plugin file
Create a `example.sp` file at the root of the repo:
```sp
#include <sourcemod>
ConVar foo;
public void OnPluginStart()
{
foo = CreateConVar("foo", "The default value", "This variable adjusts the foo.",
_, true, 0.0, true, float(MaxClients));
}
```

### Readme file
Create a `README.md` file at the root of the repo:
```md
Expand Down

0 comments on commit 8aecbd5

Please sign in to comment.