18.06.2010, 12:28
help
18.06.2010, 12:32
Post your code so we can fix it.
EDITh its too big,can you just post the lines with the errors?
EDITh its too big,can you just post the lines with the errors?
18.06.2010, 12:41
18.06.2010, 13:11
help
18.06.2010, 13:46
its a missing bracket , i'm sure of that
18.06.2010, 13:52
Try this, it's not tested, but might work...
into
And, the Loose Indentation is just a warning. You don't need to deal with it... It's just because you indent them wrongly, but it still can be compiled
pawn Код:
if(PlayerInfo[playerid][pFMember] != 255)
{
new family = PlayerInfo[playerid][pFMember];
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);
SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);
SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);
return 1;
}
else
{
SetPlayerToTeamColor(playerid);
if(PlayerInfo[playerid][pOrigin] == 1)//USA
{
SetPlayerPos(playerid,-2721.2612,-317.8447,7.8438);
SetPlayerFacingAngle(playerid, 46.8583);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
pawn Код:
if(PlayerInfo[playerid][pFMember] != 255)
{
new family = PlayerInfo[playerid][pFMember];
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);
SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);
SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);
return 1;
}
}
else
{
SetPlayerToTeamColor(playerid);
if(PlayerInfo[playerid][pOrigin] == 1)//USA
{
SetPlayerPos(playerid,-2721.2612,-317.8447,7.8438);
SetPlayerFacingAngle(playerid, 46.8583);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)