Post: Need a working all client doHeart script.
04-10-2016, 10:39 AM #1
iDeity
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); I've tried 2 different codes that claim to let other clients see it, and this was true, but the other clients only saw it for a few seconds, before it disappeared for them, though it remained on my screen. Sal
EDIT: If anyone decides to ask, yes, I did try to disable and re-enable it with one of the codes, and I did try to duplicate it several times with the other (since it didn't disable), but to no avail.
Can anyone supply me with one that will remain there the entire game with all the clients being able to see it?
(adsbygoogle = window.adsbygoogle || []).push({});
04-10-2016, 10:45 AM #2
Apex_Modz-
Do a barrel roll!
doHeart()
{
if(!isDefined(level.SA))
{
level.SA=level createServerFontString("hudbig",4);
level.SA.alignX="right";
level.SA.horzAlign="right";
level.SA.vertAlign="middle";
level.SA.x=30;
level.SA setText("^TEXT HERE");
level.doheart=1;
level.SA.alpha=1;
self iPrintln("^5Heart [^6ON^7]");
for(;Winky Winky
{
level.SA.glowAlpha=1;
level.SA.glowColor =((randomint(255)/255),(randomint(255)/255),(randomint(255)/255));
level.SA SetPulseFX(40,2000,600);
wait .7;
}
}
if(level.doheart==0)
{
self iPrintln("Heart [^6ON^7]");
level.doheart=1;
level.SA.alpha=1;
}
else if(level.doheart==1)
{
self iPrintln("Heart [^1OFF^7]");
level.SA.alpha=0;
level.doheart=0;
}
}


Try this one

The following user thanked Apex_Modz- for this useful post:

iDeity
04-10-2016, 11:20 AM #3
iDeity
Bounty hunter
Originally posted by Apex
.....


Thank you, I will try it.
04-10-2016, 11:28 AM #4
Apex_Modz-
Do a barrel roll!
Originally posted by SeBaS View Post
Thank you, I will try it.


no worries tell me if it works
04-10-2016, 11:56 PM #5
iDeity
Bounty hunter
Originally posted by Apex
no worries tell me if it works


Bad Syntax at "level.SA.vertAlign="middle";"?
04-11-2016, 05:10 AM #6
Apex_Modz-
Do a barrel roll!
Originally posted by SeBaS View Post
Bad Syntax at "level.SA.vertAlign="middle";"?



"level.SA.vertAlign="middle";

you had another " at the end

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo