Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bad Syntax
#1
Hey,
I got bad syntax in this script but cant find it anyone see it??
http://pastebin.com/1SSebE73
Thnx
Reply

#2
I think I found it.

PHP Code:
streakDealer()
{
        
self endon("death");
 
                        
self.startscore self.pers["kills"];
                        
self.killcount 0;
                        
                        
ShowKS self createFontString"objective");
                        
ShowKS setPoint"RIGHT""RIGHT", -10100 );
                        
self thread onDeath(ShowKS);
                        
                                while(
1){
                                if(
self.killcount != self.pers["kills"] - self.startscore){
                                
self.killcount self.pers["kills"] - self.startscore;
                                
                                
ShowKS setText"Current Killstreak: " +self.killcount );
                                        
                                        switch(
self.killcount){
                                        case 
4:         self thread dealStreak("Deagle ammo");                  break;
                                        case 
5:         self thread dealStreak("Trowing knifes");               break;
                                        case 
7:         self thread dealStreak("Gold deagle");                  break;
                                        case 
10:        self thread dealStreak("RcXD");                         break;
                                        
                                        
                                
wait 0.05;
        }


notice which } and { are together.

You have 4: "{"
But you have 2: "}"
Reply

#3
Tnx now it works
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help improper syntax but i dont know where Brandeeno 6 3,982 07-28-2013, 19:25
Last Post: Brandeeno
  [TUTORIAL] Basic Syntax KrypTiK 0 1,874 12-29-2012, 20:33
Last Post: KrypTiK
  Syntax error :( denn4550 6 3,879 11-09-2012, 04:13
Last Post: DEUS
  Heroes mod based on dice mod, Errors bad syntax, help please Raiserfist 7 3,691 10-02-2011, 12:11
Last Post: _Smile_Man_
  [Release] Syntax Checker 2.2 TL-Pwnzer 10 6,116 09-18-2011, 03:06
Last Post: TL-Pwnzer
  [Release] Syntax Checker TL-Pwnzer 6 3,998 08-18-2011, 22:34
Last Post: Pozzuh
  AI Survival Edit Syntax Error Elite_Nudel 24 9,230 07-21-2011, 03:47
Last Post: Elite_Nudel
  Help syntax problems ddaavvee 6 2,805 07-02-2011, 16:11
Last Post: OrangePL
  Official Syntax Highlightning SuperNovaAO 10 5,524 07-01-2011, 04:49
Last Post: JariZ
  Bad Syntax austin413 6 3,413 06-01-2011, 18:32
Last Post: austin413

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.