I have an npc with the following code in it:
PHP Code:
//#CLIENTSIDE
function onPlayertouchsme(){
dir = 3;
say(1);
sleep 3;
dir = 2;
}
But everything except the actual sign text works when i touch it.
I have also tried:
PHP Code:
function onPlayertouchsme(){
dir = 3;
say(1);
sleep 3;
dir = 2;
}
PHP Code:
//#CLIENTSIDE
function onPlayertouchsme(){
dir = 3;
say 1;
sleep 3;
dir = 2;
}
and
PHP Code:
function onPlayertouchsme(){
dir = 3;
say 1;
sleep 3;
dir = 2;
}
but with no luck. say2 seemed to break when I tried using the image codes (or perhaps it was the line breaks). Otherwise it works when I put in something like say2("!");
Any ideas why my say(int) isn't working though?