Code:
/*
/*
* AMX Mod X script
*
* Random Quotes
*
* by Lt Llama
*
* WHAT IS THIS?
* ====================
* Some things people say on servers should be immortalized.
* And who says only celebrities deserve to be quoted?
* Now you can add cool quotes from your gaming buddys.
* The plugin picks a random line from the quote file and shows it in intervals.
* Admins with ADMIN_CFG access can add new quotes.
*
* Or just any random messages you want the players to see.
*
* CVARS
* =======================
* amx_quote_interval <seconds> : sets the interval when quotes are shown. (default 10 minutes)
* amx_showquotee <1/0> : 1 = show quote and quoteds name. 0 = show only quote
* amx_quote_hud <1/0> : 1 = show quote on hud. 0 = show quote in chat
* (If in chat the quoted is not shown).
*
* To change a cvar ingame type:
* amx_cvar amx_showquotee <0/1>
* amx_cvar amx_quote_hud <0/1>
*
* (does not work with amx_quote_interval as this is a task looping)
*
* USER COMMANDS
* =============
* amx_addquote : To add a simple quote type
* amx_quote "Cows are cool"
* : To add a quote and quoted
* amx_quote "Cows are cool # Lt Llama"
* (Don't forget put "" around the string)
* VERSIONS
* ========
* 1.1 - Added amx_quote_hud + enlarged arrays.
* 1.0 - First working version (2006-09-19)
*/
Example of content of the randomquotes.cfg:
Quote:
/*** START OF RANDOM QUOTES FILE ***\
Cows are cool
My isp gives me random high pings because they hate me # Player
I don't get this map # Player
Pull your mouse down as much as you can # Player(2)
I'm eating my tea # Player
How do you make maps for TFC? # Player(32)
|
Hope you find it useful
/Lt.
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.