AzreaL
6th February 2013, 21:25
******* script compile error *******
bad syntax: (file 'maps/mp/gametypes/_tdm.gsc', line 251)
{
*
************************************
The Line ;
{
if(!level.splitscreen)
iprintln(&"MP_DISCONNECTED", self);
if(isdefined(self.pers["team"]))
{
if(self.pers["team"] == "allies")
setplayerteamrank(self, 0, 0);
else if(self.pers["team"] == "axis")
setplayerteamrank(self, 1, 0);
else if(self.pers["team"] == "spectator")
setplayerteamrank(self, 2, 0);
}
lpselfnum = self getEntityNumber();
lpGuid = self getGuid();
logPrint("Q;" + lpGuid + ";" + lpselfnum + ";" + self.name + "\n");
}
bad syntax: (file 'maps/mp/gametypes/_tdm.gsc', line 251)
{
*
************************************
The Line ;
{
if(!level.splitscreen)
iprintln(&"MP_DISCONNECTED", self);
if(isdefined(self.pers["team"]))
{
if(self.pers["team"] == "allies")
setplayerteamrank(self, 0, 0);
else if(self.pers["team"] == "axis")
setplayerteamrank(self, 1, 0);
else if(self.pers["team"] == "spectator")
setplayerteamrank(self, 2, 0);
}
lpselfnum = self getEntityNumber();
lpGuid = self getGuid();
logPrint("Q;" + lpGuid + ";" + lpselfnum + ";" + self.name + "\n");
}