Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.