Post: Having Some Trouble! Pls Help
11-06-2010, 01:23 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); close this thread too
(adsbygoogle = window.adsbygoogle || []).push({});
11-06-2010, 01:55 PM #2
Karoolus
I'm the W@W Menu Guy !
Originally posted by Jot1011 View Post
Can someone pls help me with this syntax error problem. all i do is add prestige in the patch_mp.ff exactly how other ppl do it like self thread dopresitge(); and then add the thread under. (If u ever edited patches you'll know wht im talking about). But i alwways get a syntax error. I'm i suppose to add something to the script. Help will Be apperciated.


post your code from OnPlayerSpawned() down to GiveRankXP()
so paste everything in between (include the onplayerspawned)

no code = no help..
I can't smell where the syntax error is coming from Happy
11-06-2010, 05:24 PM #3
onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("spawned_player");
self thread doprestige();
if(!isdefined(self.hud_rankscroreupdate))

{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
}
}
}

doprestige()
{
self maps\mp\gametypes\_persistence::statSet( "plevel", 8 );
self maps\mp\gametypes\_persistence::statSet( "rank", 1 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 153950 );
self maps\mp\gametypes\_persistence::statSet( "rankId", 251 );
}
thats it. thats all i want and i keep getting an error

---------- Post added at 01:24 PM ---------- Previous post was at 01:22 PM ----------

Originally posted by Karoolus View Post
post your code from OnPlayerSpawned() down to GiveRankXP()
so paste everything in between (include the onplayerspawned)

no code = no help..
I can't smell where the syntax error is coming from Happy


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

for(;Winky Winky
{
self waittill("spawned_player");
self thread doprestige();
if(!isdefined(self.hud_rankscroreupdate))

{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
}
}
}

doprestige()
{
self maps\mp\gametypes\_persistence::statSet( "plevel", 8 );
self maps\mp\gametypes\_persistence::statSet( "rank", 1 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 153950 );
self maps\mp\gametypes\_persistence::statSet( "rankId", 251 );
}

thats it all i want i keep getting syntax error even if i add just dvars= syntax error why
11-06-2010, 09:04 PM #4
Karoolus
I'm the W@W Menu Guy !
are you sure that's the only thing you added ?
cause it looks okay 2 me..
11-06-2010, 09:11 PM #5
yes thats all i added :S hold on ima try again and test

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo