In-Game Notes v.1.0

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

In-Game Notes v.1.0

Post by greenie »

I created this small plugin for myself, but I though it'd be good to share it. I don't know if any other plugins can do the same or if this can be achieved in other ways, but this is the simplest method I came up with.

The basic idea is, that usually when debugging a plugin, or just testing one I usually come up with new ideas and improvements... but after a hearty 15 minutes of playing I've already forgotten what I came up with. So, why not log your thoughts in game? I've made this admin only, and the plugin is aimed mostly at developing purposes.


Usage:

Ingame command:
say log All this text after the word log will be logged in a file
say_team log Also, all this text after the word will be logged in a file
Result in mode 0, in the Amxx logfile:
Map: <mapname> <user>: All this text after the word log will be logged in a file
Map: <mapname> <user>: Also, all this text after the word will be logged in a file
Result in mode 1, in a custom logfile:
<date> <time> <mapname> <user>: All this text after the word log will be logged in a file
<date> <time> <mapname> <user>: Also, all this text after the word will be logged in a file

Cvar's:

log_mode 0 - Logging mode, defaults to "0"
log_filename "notes" - Logging file's name, this default will result in cstrike\notes.txt

get plugin
Post Reply

Return to “Technical/Development”