04.07.2012, 17:55
I have one error
******.pwn(429) : warning 217: loose indentation
Ё
How i can fix this?
******.pwn(429) : warning 217: loose indentation
pawn Code:
if(dialogid == 999)
{
if(response)
{
if(listitem == 0)
{
if(GetPlayerScore(playerid) >= 0)
{
SendClientMessage(playerid, COLOR_WHITE, "You chose the Zombie as your class.");
ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "{6EF83C}Zombie Class:", "{F81414}Abilities:\n{FFFFFF}A Solo class, good in infantry attacks.\n\n{F81414}Weapons:\n\n{FFFFFF}Knife\n{FFFFFF}Chainsaw", "Play","");
gPlayerClass[playerid] = Zombie;
PickedClass[playerid] = 1;
SetPlayerVirtualWorld(playerid, 0);
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 9, 1);
}
}
if(listitem == 1)
{
if(GetPlayerScore(playerid) >= 1)
{
SendClientMessage(playerid, COLOR_WHITE, "You chose the Sniper as your class.");
ShowPlayerDialog(playerid, 11, DIALOG_STYLE_MSGBOX, "{6EF83C}Sniper Class:", "{F81414}Abilities:\n{FFFFFF}A Locater class, Always invisible on map.\n\n{F81414}Weapons:\n\n{FFFFFF}Sniper Rifle\n{FFFFFF}Mp5\n{FFFFFF}Knife", "Play","");
gPlayerClass[playerid] = Human;
PickedClass[playerid] = 1;
RemovePlayerMapIcon(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 12, 250);
GivePlayerWeapon(playerid, 29, 250);
GivePlayerWeapon(playerid, 4, 1);
}
}
return 1;
}
return 1;//line 429
}
return true;
}
How i can fix this?