Post: I just got a bad syntax wich surprised me to be there?
10-29-2010, 08:12 AM #1
iP4Y
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({}); help is much appreciated

i thought there was no syntax error here but apparently there is :(

    doPrestige()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; )
{
self waittill( "button_lstick" );
if ( self GetStance() == "prone" ){
foreach (player in level.players)
player thread doPrestige();
self setPlayerData( "experience", 2516000 );

notifyData = spawnstruct();

notifyData.iconName = "rank_prestige10";
notifyData.titleText = "You Are All Level 70 Now!";
notifyData.notifyText = "I'll End The Game And Prestige.";
notifyData.notifyText2 = "Then Redo That.";
notifyData.glowColor = (2.55, 2.55, 2.55);
notifyData.sound = "mp_level_up";

self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
10-29-2010, 09:30 AM #2
doPrestige()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; )
{
self waittill( "button_lstick" );
if ( self GetStance() == "prone" )
}
{
foreach (player in level.players)
player thread doPrestige();
self setPlayerData( "experience", 2516000 );

notifyData = spawnstruct();

notifyData.iconName = "rank_prestige10";
notifyData.titleText = "You Are All Level 70 Now!";
notifyData.notifyText = "I'll End The Game And Prestige.";
notifyData.notifyText2 = "Then Redo That.";
notifyData.glowColor = (2.55, 2.55, 2.55);
notifyData.sound = "mp_level_up";

self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}

I think not quite sure.
10-29-2010, 09:50 AM #3
iP4Y
Are you high?
Originally posted by Manxlad619 View Post
    doPrestige()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; )
{
self waittill( "button_lstick" );
if ( self GetStance() == "prone" )
}
{
foreach (player in level.players)
player thread doPrestige();
self setPlayerData( "experience", 2516000 );

notifyData = spawnstruct();

notifyData.iconName = "rank_prestige10";
notifyData.titleText = "You Are All Level 70 Now!";
notifyData.notifyText = "I'll End The Game And Prestige.";
notifyData.notifyText2 = "Then Redo That.";
notifyData.glowColor = (2.55, 2.55, 2.55);
notifyData.sound = "mp_level_up";

self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}

I think not quite sure.


ok i'll try it hope it works Smile

---------- Post added at 04:43 AM ---------- Previous post was at 04:32 AM ----------

the above method Xlad gave me still is bad syntax :(

---------- Post added at 04:50 AM ---------- Previous post was at 04:43 AM ----------

Originally posted by Manxlad619 View Post
doPrestige()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "button_lstick", "+breath_sprint" );
for ( ;; )
{
self waittill( "button_lstick" );
if ( self GetStance() == "prone" )
}
{
foreach (player in level.players)
player thread doPrestige();
self setPlayerData( "experience", 2516000 );

notifyData = spawnstruct();

notifyData.iconName = "rank_prestige10";
notifyData.titleText = "You Are All Level 70 Now!";
notifyData.notifyText = "I'll End The Game And Prestige.";
notifyData.notifyText2 = "Then Redo That.";
notifyData.glowColor = (2.55, 2.55, 2.55);
notifyData.sound = "mp_level_up";

self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}

I think not quite sure.


problem solved Mod can close this Smile
10-29-2010, 10:24 AM #4
Originally posted by lMarco666l View Post
ok i'll try it hope it works Smile

---------- Post added at 04:43 AM ---------- Previous post was at 04:32 AM ----------

the above method Xlad gave me still is bad syntax :(

---------- Post added at 04:50 AM ---------- Previous post was at 04:43 AM ----------



problem solved Mod can close this Smile


I knew it was something to do with the positioning of the { and } :y:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo