Quote:
Originally Posted by Deas_Voice
no stupid -_-
|
Yes, he basically could. You could check if the name of the image includes "hat" though.
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
if (!player.chat.starts("sethat "))
return;
if (player.chat.trim().substring(6).pos("hat") == -1)
return;
player.attr[1] = client.ishat = player.chat.trim().substring(6);
}