View Single Post
  #15  
Old 04-11-2009, 01:23 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Raelyn View Post
Question #7
I have several NPCs with the following script.

PHP Code:
if (created) {
  
setshape 1,32,16;
}

if (
playertouchsme){
  
say2 Says_stuff_here;

What is the GS2 equivalent for the say2 command? And is there something wrong about the functionality of this script (bad formatting aside)? Because I have 4 of them on the gmap, and two work, and two don't. All identical, the only difference is the sign text.
say2 is a clientsided command, and thus can't be used on serverside.

PHP Code:
//#CLIENTSIDE
function onPlayerTouchsMe()
{
  
say2("Insert your fancy stuff here!");

__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote