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 08-02-2010, 04:40 AM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
Centering a nickname?

So I was wondering (no matter the length) how I would go about setting a custom nick name right below the player, like the default one would. It's through a gani, btw

PHP Code:
SCRIPT
function onPlayerEnters() onTimeOut();
function 
onCreated() onTimeOut();
function 
onTimeOut() {
  if ( 
player.level.name != NULL ) {
    
showText300player.xplayer.3"verdana""b"player.nick );
    
changeImgZoom3000.6 );
    
changeImgColors300player.clientr.( @ "namecolor_colors" )[ ], player.clientr.( @ "namecolor_colors" )[ ], player.clientr.( @ "namecolor_colors" )[ ], );
  } else {
    
hideImg300 );
  }
  
setTimer0.05 );
}
SCRIPTEND 
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 07:19 PM.


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