Quote:
Originally Posted by Twaina
Dont working if i chat sethat or :sethat the image of hat with png/gif
i dont see a hat again :/
|
Have you uploaded the image into levels/images or possibly levels/hats?
This should work, but the script Cyan posted should work.
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat.starts("sethat")) {
player.attr[1] = client.ishat = player.chat.tokenize()[1];
}
}