AMX MOTD v0.2

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

AMX MOTD v0.2

Post by greenie »

AMX MOTD v0.2
---
What does it do?
- It simply displays any file in the MOTD window to players (players can be defined very easily, see below for more info).
---
What are the commands?
amx_motd <name,@team,*(all)> <path/to/file.ext> <title>
- Also, there's a wide variety of this one command. Here's a list of every possible choice:
Examples (I'll use rules.htm for these examples):

Single player:
amx_motd v3x "rules.htm" "Follow the rules"

All players:
amx_motd @A "rules.htm" "Follow these rules"
amx_motd @ALL "rules.htm" "Follow these rules"
amx_motd * "rules.htm" "Follow these rules"

Terrorist team:
amx_motd @T "rules.htm" "Follow these rules"
amx_motd @TE "rules.htm" "Follow these rules"
amx_motd @TER "rules.htm" "Follow these rules"
amx_motd @TERROR "rules.htm" "Follow these rules"
amx_motd @TERRORIST "rules.htm" "Follow these rules"

Counter-Terrorist team:
amx_motd @C "rules.htm" "Follow these rules"
amx_motd @CT "rules.htm" "Follow these rules"
amx_motd @COUNTER "rules.htm" "Follow these rules"
---
What admin flag is needed?
- You need the ADMIN_CFG flag
#define ACCESS_LEVEL ADMIN_CFG
// Change if needed
---
NOTE: Do NOT try and display .amxx files! It will give you a client-side error!

Have fun

0.2 + 1,000+ downloads

get plugin
get source
Post Reply

Return to “Admin Commands”