02.05.2009, 15:40
You were missing a }
pawn Код:
if(strcmp(cmdtext,"/offduty", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
if(OnDuty[playerid]==1)
{
ShowMenuForPlayer(copcivil, playerid);
TogglePlayerControllable(playerid, 0);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"Your not off duty");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1,"You are not a member of LSPD!");
}
}