View Single Post
  #1  
Old 04-10-2011, 10:47 PM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
say(int) not working?

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?
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote