In your error massage is a line number.
Open your lpr file in PSPad editor http://www.pspad.com and check that line.
Event OnConnect()
openGlobalButton("tm1",60,1,30,7,7,-1,32,"^7WHITE TEAM");
openGlobalButton("vs",95,1,10,6,6,-1,32,"^2VS");
openGlobalButton("tm2",110,1,30,7,7,-1,32,"^1RED TEAM");
EndEvent
$UseUsernameForAuthentication = true;
Sub Click_w1()
closeGlobalButton( "w0&w00");
openPrivButton( "w01",193,170,5,5,5,-1,16,"^71");
openGlobalButton( "w1",91,1,4,7,7,-1,32,"^71");
EndSub
Sub Click_r1()
closeGlobalButton( "r0&r00");
openGlobalButton( "r1",105,1,4,7,7,-1,32,"^11");
openPrivButton( "r01",193,175,5,5,5,-1,16,"^11");
EndSub
Sub Click_w2()
closeGlobalButton( "w1&w01");
openGlobalButton( "w2",91,1,4,7,7,-1,32,"^72");
openPrivButton( "w02",193,170,5,5,5,-1,16,"^72");
EndSub
Sub Click_r2()
closeGlobalButton( "r1&r01");
openGlobalButton( "r2",105,1,4,7,7,-1,32,"^12");
openPrivButton( "r02",193,175,5,5,5,-1,16,"^12");
EndSub
Sub Click_w3()
closeGlobalButton( "w2&w02");
openGlobalButton( "w3",91,1,4,7,7,-1,32,"^73");
openPrivButton( "w03",193,170,5,5,5,-1,16,"^73");
EndSub
Sub Click_r3()
closeGlobalButton( "r2&r02");
openGlobalButton( "r3",105,1,4,7,7,-1,32,"^13");
openPrivButton( "r03",193,175,5,5,5,-1,16,"^13");
EndSub
Sub Click_w4()
closeGlobalButton( "w3&w03");
openGlobalButton( "w4",91,1,4,7,7,-1,32,"^74");
openPrivButton( "w04",193,170,5,5,5,-1,16,"^74");
EndSub
Sub Click_r4()
closeGlobalButton( "r3&r03");
openGlobalButton( "r4",105,1,4,7,7,-1,32,"^14");
openPrivButton( "r04",193,175,5,5,5,-1,16,"^14");
EndSub
Sub Click_w5()
closeGlobalButton( "w4&w04");
openGlobalButton( "w5",91,1,4,7,7,-1,32,"^75");
openPrivButton( "w05",193,170,5,5,5,-1,16,"^75");
EndSub
Sub Click_r5()
closeGlobalButton( "r4&r04");
openGlobalButton( "r5",105,1,4,7,7,-1,32,"^15");
openPrivButton( "r05",193,175,5,5,5,-1,16,"^15");
EndSub
Sub Click_reset()
closeGlobalButton( "w0&w00");
closeGlobalButton( "w1&w01");
closeGlobalButton( "w2&w02");
closeGlobalButton( "w3&w03");
closeGlobalButton( "w4&w04");
closeGlobalButton( "w5&w05");
closeGlobalButton( "r0&r00");
closeGlobalButton( "r1&r01");
closeGlobalButton( "r2&r02");
closeGlobalButton( "r3&r03");
closeGlobalButton( "r4&r04");
closeGlobalButton( "r5&r05");
openGlobalButton( "r0",105,1,4,7,7,-1,32,"^10");
openPrivButton( "r00",193,175,5,5,5,-1,16,"^10");
openGlobalButton( "w0",91,1,4,7,7,-1,32,"^70");
openPrivButton( "w00",193,170,5,5,5,-1,16,"^70");
EndSub
Register MsgAction("!meniu",MA_meniu);
Sub MA_meniu()
$allow= ""; #admin License name
openPrivButton("meniu",169,169,30,30,30,-1,32," ");
openPrivButton("tmwhite",170,170,22,5,5,-1,16,"^7WHITE TEAM");
openPrivButton("tmred",170,175,22,5,5,-1,16,"^1RED TEAM");
openPrivButton("wsc",171,181,4,4,4,-1,16,"^7W");
openPrivButton("rsc",171,185,4,4,4,-1,16,"^1R");
openPrivButton("wm1",177,181,4,4,4,-1,16,"^21",Click_w1 );
openPrivButton("rm1",177,185,4,4,4,-1,16,"^21",Click_r1 );
openPrivButton("wm2",181,181,4,4,4,-1,16,"^22",Click_w2 );
openPrivButton("rm2",181,185,4,4,4,-1,16,"^22",Click_r2 );
openPrivButton("wm3",185,181,4,4,4,-1,16,"^23",Click_w3 );
openPrivButton("rm3",185,185,4,4,4,-1,16,"^23",Click_r3 );
openPrivButton("wm4",189,181,4,4,4,-1,16,"^24",Click_w4 );
openPrivButton("rm4",189,185,4,4,4,-1,16,"^24",Click_r4 );
openPrivButton("wm5",193,181,4,4,4,-1,16,"^25",Click_w5 );
openPrivButton("rm5",193,185,4,4,4,-1,16,"^25",Click_r5 );
openPrivButton("res",179,191,10,5,5,-1,16,"^2reset",Click_reset );
openPrivButton("daug",176,192,3,3,3,-1,16,"^2<",Click_more );
openPrivButton("isj",189,192,3,3,3,-1,16,"^1X",Click_isjungti );
EndSub
Sub Click_more()
openPrivButton("daugiau",138,169,30,30,30,-1,32," ");
openPrivButton("back",164,192,3,3,3,-1,16,"^1>",Click_isjungtiMore );
openPrivButton("uzribis",139,170,28,5,5,-1,16,"^2Out",Click_uzribis );
openPrivButton("wk",139,175,14,5,5,-1,16,"^7Ball",Click_wkamuolys );
openPrivButton("rk",153,175,14,5,5,-1,16,"^1Ball",Click_rkamuolys );
openPrivButton("wiv",139,180,14,5,5,-1,16,"^7Goal",Click_wivartis );
openPrivButton("riv",153,180,14,5,5,-1,16,"^1Goal",Click_rivartis );
openPrivButton("pertr",139,185,14,5,5,-1,16,"^2Break",Click_pertrauka );
openPrivButton("prad",153,185,14,5,5,-1,16,"^2Start game",Click_pradedam );
openPrivButton("gam",139,193,20,4,4,-1,0,"^6Made By santeXFz");
EndSub
Sub Click_isjungtiMore()
closePrivButton("daugiau&back&uzribis&wk&rk&wiv&riv&pertr&gam&prad");
EndSub
Sub Click_isjungti()
closePrivButton("meniu&tmwhite&tmred&wsc&rsc&wm1&rm1&wm2&rm2&wm3&rm3");
closePrivButton("wm4&rm4&rm5&wm5&res&daug&isj&daugiau&back&");
closePrivButton("w00&r00&w01&r01&w02&r02&w03&r03&w04&r04&w05&r05");
closePrivButton("uzribis&wk&rk&wiv&riv&pertr&gam&prad");
EndSub
Sub Click_uzribis()
openPrivButton("uz",85,50,30,10,10,5,32,"^2OUT");
EndSub
Sub Click_wkamuolys()
openGlobalButton("wkg",80,40,40,10,10,5,32,"^2Ball goes to ^7WHITE ^2team");
EndSub
Sub Click_rkamuolys()
openGlobalButton("rkg",80,40,40,10,10,5,32,"^2Ball goes to ^1RED ^2team");
EndSub
Sub Click_wivartis()
openGlobalButton("wivb",70,40,60,10,10,5,32,"^3************* ^2GOAL ^3*************");
openGlobalButton("wivb2",80,50,40,10,10,7,32,"^21 pt goes to ^7WHITE ^2team");
EndSub
Sub Click_rivartis()
openGlobalButton("wivb",70,40,60,10,10,5,32,"^3************* ^2GOAL ^3*************");
openGlobalButton("wivb2",80,50,40,10,10,7,32,"^21 pt goes to ^1RED ^2team");
EndSub
Sub Click_pertrauka()
openGlobalButton("pertra",80,40,40,10,10,120,32,"^2BREAK");
openGlobalButton("pertra2",70,50,60,10,10,120,32,"^2You have 2 minutes to repair your car");
EndSub
Sub Click_pradedam()
openGlobalButton("pradedam",70,50,60,10,10,5,32,"^3*** ^2GAME BEGINS ^3***");
EndSub
# Sorry about LT and ENG language mix in code
[COLOR=Red]Event OnRotateTrack()[/COLOR]
IF ($CurrRotateTrack == "SO6R")
THEN
cmdLFS("/laps 7");
ENDIF
cmdLFS("/msg ^7Trasa pakeista, prasome palaukti !" );
cmdLFS("/msg ^7Dabartine trasa : ^6" . $CurrLongRotateTrack);
EndEvent