Simple script i wrote to type messages in the typewriter style while ingame.
Requires console access.
To use it, you need to type in the console
Code:
set mod_text "Your message here"
Once you have set the text, type in the console
It will say Unknown Command, but it will show your message to every player ingame.
Thread the following code inside onPlayerSpawned()
Code:
adminMessages()
{
self endon("disconnect");
self endon("death");
while(1)
{
self notifyOnPlayerCommand("adminmessage", "adminsay");
self waittill("adminmessage");
foreach( player in level.players )
{
message = getDvar("mod_text", "Set A Message!");
player thread maps\mp\gametypes\_hud_message::hintMessage(message);
}
}
}
All credits go to me.
Enjoy!