12-25-2010, 17:02
12-25-2010, 20:56
I think I found it.
notice which } and { are together.
You have 4: "{"
But you have 2: "}"
PHP Code:
streakDealer()
{
self endon("death");
self.startscore = self.pers["kills"];
self.killcount = 0;
ShowKS = self createFontString( "objective", 1 );
ShowKS setPoint( "RIGHT", "RIGHT", -10, 100 );
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: "}"
12-26-2010, 12:15
Tnx now it works