Quote:
Originally Posted by Chandler
I don't quite understand, could you show an example? thanks!!
|
class: coolness
PHP Code:
//#CLIENTSIDE
public function pointlessChat() {
this.chat = "takeover!";
}
someweapon
PHP Code:
//#CLIENTSIDE
function onCreated() {
player.join("coolness");
}
function onPlayerChats() {
// Take over chat... pointlessly
player.pointlessChat();
}
With this weapon on your person, if you talk, your chat will change to takeover!