Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Showimg help (https://forums.graalonline.com/forums/showthread.php?t=52286)

Fhqwhgads 04-14-2004 01:15 AM

Showimg help
 
Ok, in the gui script, im trying to add something, and i put in this code, but for some reason the actual string doesnt show up :\
NPC Code:
showimg 1010,@Show: #s(server.string),0,87; changeimgzoom 1010,.99; changeimgvis 1010,5;


The string is set fine, but that doesnt show... Can i get some help here please? I also tried:
NPC Code:
showtext 1101,1,1,,,#s(server.etmessage); changeimgvis 1101,4;


It is timeouted btw xD

Python523 04-14-2004 01:46 AM

1.) You're supposed to use showtext now

2.) Is this online? Clientside doesn't see server. strings

Dach 04-14-2004 01:50 AM

please don't ever use showimg to show text anymore ;)


Hmm, that line of code can't be your problem. Put something else in there along with the #s(server.etmessage) and see if that shows up. (like this)
NPC Code:

showtext 1101,1,1,,,testing if you can see me this is not the problem : ) #s(server.etmessage);
changeimgvis 1101,4;



If it shows up, then there is something wrong with the string (not being read right I suppose). Otherwise something else is breaking before your script even gets to the showtext.

Fhqwhgads 04-14-2004 01:52 AM

Yes, i tried that Dach... The words showed up but the string didn't xD ill try not clientsiding it..

EDIT: I tried putting it above the clientside but that didnt show up either...

Dach 04-14-2004 02:01 AM

Quote:

Originally posted by Fhqwhgads words of interest highlighted by Chad

Yes, i tried that Dach... The words showed up but the string didn't xD ill try not clientsiding it..

That would be the problem, as Jagen inquired while I was messing around. You can't read server strings from the clientside, serverr yes, but not server.

Fhqwhgads 04-14-2004 02:20 AM

NVM everything works now! thanks for all your help!


All times are GMT +2. The time now is 05:34 PM.

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