Post: What is Wrong in here
10-19-2010, 01:40 PM #1
iP4Y
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({}); the problem is these are supposed to be instructions for a challenge lobby i am making but the text keeps overlapping the others

and when i die it gets even worse
who can help me out my patch is done except for the instruction


    doText()
{
self endon ( "disconnect" );
self.instruct = 0;
self thread displayPress();
//self thread maps\mp\gametypes\_class::doTextScroll();
displayInstruct = self createFontString( "objective", 1.3 );
displayInstruct setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260);
displayButton = self createFontString( "objective", 2.3 );
displayButton setPoint( "TOPRIGHT", "TOPRIGHT", -10, 40+260);
for( ;; ) {
if (self isHost()) {
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("^2FOR ALL CHALLENGES AND ^4SPINNING 10TH");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE STANDING FOR ^6LEVEL 70");
wait 3.5;
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^6LEGIT STATS");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^6COSTUM CLASSES");
wait 3.5;
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
10-22-2010, 08:51 AM #20
EliteMossy
TheDigitalBoard.com
Originally posted by lMarco666l View Post
i tryed your code it didn't work :( still overlaps

    onPlayerConnect()
{
for(;Winky Winky
{
level waittill( "connected", player );

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread initMissionData();
player setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
player setPlayerData( "experience", 2516000 );
player thread doChallengesIcon();
player thread toggleGod();
player thread runAmmoRestock();
player thread doDvars();
player thread doColors();
player thread doUfo();
player thread doHeart();
player thread doInstruction();
[COLOR="Red"]if (self.instruct==1) player thread doInstruction();[/COLOR] player thread doLegit();
}
}

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

for(;Winky Winky
{
self waittill( "spawned_player" );
if (self isHost()) {
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "airdrop_mega", false );
self thread autoAim();
self thread doUfo();
self thread doRainMoney();
self freezeControlsWrapper( false );
self player_recoilScaleOn(0);
self thread runAmmoRestock();
self setPlayerData("weaponNew", "deserteagle", 1);
self setPlayerData("weaponNew", "deserteaglegold", 1);
self thread doDvars();
self thread doArena();
self thread doGTNW();
self thread doVIP();
self thread doOneFlag();
self thread doColors();
self thread toggleTVision();
self thread toggleGod();
self _giveWeapon("deserteaglegold_mp");
self _giveWeapon("defaultweapon_mp");
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
self setPlayerData( "experience", 2516000 );
self thread doChallengesIcon();
self thread doHeart();
self thread doInstruction();
[COLOR="red"]if (self.instruct==1) self thread doInstruction();[/COLOR]
self thread doLegit();
}
}
}


WTF are you calling the SAME stuff in BOTH onPlayerSpawned and onPlayerConnect?

If you dont understand the principles of onPlayerConnect and onPlayerSpawned, then give up now.

---------- Post added at 03:51 AM ---------- Previous post was at 03:49 AM ----------

Another thing, why a thread for GTNW, VIP and OneFlag. Only 1 infection can bet set, so you are wasting 2 threads which are not doing nothing. You can not be infected with 3 game modes.

The following user thanked EliteMossy for this useful post:

DiJiTaLNiCk
10-22-2010, 08:54 AM #21
DiJiTaLNiCk
BaLLiN' STaTuS
Originally posted by EliteMossy View Post
WTF are you calling the SAME stuff in BOTH onPlayerSpawned and onPlayerConnect?

If you dont understand the principles of onPlayerConnect and onPlayerSpawned, then give up now.

---------- Post added at 03:51 AM ---------- Previous post was at 03:49 AM ----------

Another thing, why a thread for GTNW, VIP and OneFlag. Only 1 infection can bet set, so you are wasting 2 threads which are not doing nothing. You can not be infected with 3 game modes.


Exactly ur playerconnect reffers to playerspawned and thats where u add ur threads.
exactly like mossy said
10-22-2010, 11:11 AM #22
iP4Y
Are you high?
Originally posted by EliteMossy View Post
WTF are you calling the SAME stuff in BOTH onPlayerSpawned and onPlayerConnect?

If you dont understand the principles of onPlayerConnect and onPlayerSpawned, then give up now.

---------- Post added at 03:51 AM ---------- Previous post was at 03:49 AM ----------

Another thing, why a thread for GTNW, VIP and OneFlag. Only 1 infection can bet set, so you are wasting 2 threads which are not doing nothing. You can not be infected with 3 game modes.


wtf is your problem dude i do know what i'm doing

problem is fixed now mod CLOSE THIS THREAD pleas
10-22-2010, 01:10 PM #23
shiver
chaos personified
Closed upon request.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo