In-Game Notes v.1.0

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

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
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œTechnical/Development”