02.05.2009, 15:31
I spent ages trying to work out whats wrong with this. Can someone help me?
Код:
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!"); } }