Liberty Unleashed
Scripting => Script Help => Topic started by: CANYON on August 26, 2012, 04:49:59 am
-
It is possible to make ID of the player in a chat in messages? :)
example:
CANYON [ID:0]: hello world
or
CANYON (0): hello world
-
Sure :)
function onPlayerChat( player, text )
{
Message(player.Name + " (" + player.ID + "): " + text );
return 0;
}
-
Wow! Thank you very much ;)
And it is possible to make so that color of a name of the player was his?
-
function onPlayerChat( player, text )
{
Message(player.ColouredName + " (" + player.ID + "): " + text );
return 0;
}