Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-16-2007, 11:43 AM
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
Awesome, another gani related question!

So like, Ive been having this problem for quite some time now.. its the same problems Stan recently posted about, but I didnt want to hijack his thread with my own question.

I checked that thread, didnt come up with a solution. Perhaps Im just tired? Hmm.. so anyways, the problem:


PHP Code:
  player.attr[20] = "ml_hud.gani";
  
player.attr[21] = { "test""xd"}; 
PHP Code:
SCRIPT
function onPlayerEnters() setTimer(.05);

function 
onTimeOut()
{
  if (
player.attr[21] != NULL) {
    
this.pos = { player.1.5player.2player.};
    
showtext(201this.pos[0], this.pos[1] - 2"Verdana""b""TEST [" player.attr[21][1] @ "]");
  }
  
setTimer(.05);
}
SCRIPTEND 
This is displaying the text "TEST [xd]" over MY player, but I just see "TEST []" over the other players in the level. Same thing goes for everyone else, they only see the text "TEST [xd]" over themself and no one else.

My question is, how do I fix this?
__________________
Follow my work on social media post-Graal:Updated august 2025.
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 06:05 PM.


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