Post: Heart Code
01-19-2011, 03:25 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Will Some1 Give Me The Code For Doheart, And Where To Put It?
(adsbygoogle = window.adsbygoogle || []).push({});
01-19-2011, 04:15 PM #2
dill1259
Do a barrel roll!
First add self thread doHeart(); To onPlayerSpawned(){

Then put this were there is room and change the name

doHeart()
{
self endon ( "disconnect" );
displayText = self createFontString( "DaStacks", 2.5 );
displayText setPoint( "CENTER", "TOP", 0, 15 );
self thread destroyOnDeath( displayText );
for( ;; )
{
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
}
}
01-19-2011, 04:18 PM #3
i♥u
Bounty hunter
Whars that ?
01-19-2011, 04:22 PM #4
Originally posted by dill1259 View Post
First add self thread doHeart(); To onPlayerSpawned(){

Then put this were there is room and change the name

doHeart()
{
self endon ( "disconnect" );
displayText = self createFontString( "DaStacks", 2.5 );
displayText setPoint( "CENTER", "TOP", 0, 15 );
self thread destroyOnDeath( displayText );
for( ;; )
{
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
displayText setText("^1TEXT");
wait .1;
}
}


Where Do I Put Self Thread and How.. Sry Im New At Editing.
01-19-2011, 04:41 PM #5
dill1259
Do a barrel roll!
Ok find onPlayerSpawned(){

onPlayerSpawned(){
self endon("disconnect");
self permsInit();
for(;Winky Winky{
self waittill("spawned_player");
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self permsBegin();
if (level.matchGameType=="1"){//GunGame
self thread doDG();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
}

it might not be the same then just add doHeart();

Should look like this

onPlayerSpawned(){
self endon("disconnect");
self permsInit();
for(;Winky Winky{
self waittill("spawned_player");
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self permsBegin();
self thread doHeart(); //Look its here
if (level.matchGameType=="1"){//GunGame
self thread doDG();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
}
01-19-2011, 05:07 PM #6
Originally posted by dill1259 View Post
Ok find onPlayerSpawned(){

onPlayerSpawned(){
self endon("disconnect");
self permsInit();
for(;Winky Winky{
self waittill("spawned_player");
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self permsBegin();
if (level.matchGameType=="1"){//GunGame
self thread doDG();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
}

it might not be the same then just add doHeart();

Should look like this

onPlayerSpawned(){
self endon("disconnect");
self permsInit();
for(;Winky Winky{
self waittill("spawned_player");
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self permsBegin();
self thread doHeart(); //Look its here
if (level.matchGameType=="1"){//GunGame
self thread doDG();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
}


Which .gsc Is It In? I Found 1 In _AC130.gsc But It Only Had:

onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("spawned_player");
}
}
01-19-2011, 05:24 PM #7
Cyborg Ninja
PS3 Security FtW !
Originally posted by IVIoDs View Post
Which .gsc Is It In? I Found 1 In _AC130.gsc But It Only Had:

onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("spawned_player");
}
}



Its in _mission.gsc

It really should be basic knowledge by now.

Have a go at adding yourself if you get an error quote me and ill take a look include your gsc code from notepad or ff viewer.
01-19-2011, 05:27 PM #8
dill1259
Do a barrel roll!
_missions.gsc should be near the top and what patch are you adding this to
01-19-2011, 05:32 PM #9
vSaBoTeuR x
< ^ > < ^ >
Originally posted by IVIoDs View Post
Which .gsc Is It In? I Found 1 In _AC130.gsc But It Only Had:

onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("spawned_player");
}
}


It is in _missions.gsc. But remember the content that is already in the thread can be in there to correspond with the patch you're editing. And I've got 500 posts. Celebration time.
01-19-2011, 05:40 PM #10
Originally posted by nickvth2009 View Post
It is in _missions.gsc. But remember the content that is already in the thread can be in there to correspond with the patch you're editing. And I've got 500 posts. Celebration time.


I Put It Under onPlayerSpawned(){ But I Got Like 100 Syntax Errors.. Could You Do This For Me?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo