Please

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

bershake

FNG / Fresh Meat
Mar 15, 2016
4
0
0
Hi guy's Coders and Kiling Floor Fans

I'm new on codong and need Your Help


there is Script :

*/

static function string GetCustomLevelInfo( byte Level ) <--this is 217 line-->
{
local string S;
S = Default.CustomLevelInfo;
S = Repl(S,"%s",GetPercentStr(0.05 * float(Level)+0.05));
S = Repl(S,"%d",GetPercentStr(0.1+FMin(0.1 * float(Level),0.8f)));
S = Repl(S,"%z",string(Level-2));
S = Repl(S,"%metrai",string((0.015625 + (0.015625 * float(Level))) / 0.015625));
S = Repl(S,"%famage",GetPercentStr(0.05 * float(Level)));
S = Repl(S,"%ammo",GetPercentStr(0.25 + (0.05 * (float(Level)))));
S = Repl(S,"%r",GetPercentStr(FMin(0.00 + (0.05*(Level)),0.99)));

return S;
}



Error Is :
SRVetGunslinger.uc<217> : Error, Missing '{'in Function



And Stop compile. :) Help
 

Toblerone

FNG / Fresh Meat
Mar 21, 2015
25
2
0
You have an open function somewhere, make sure all functions, if conditions are closed with curly brackets.