07.01.2012, 01:56
of you could just do it this way .. You dont really need to do the "else if" because if the person is not in group 5 it will say the SendClientMessage. If you need any help you can PM me, i am a failrly good scripter and might be able to help you out with anything you might need.
Код:
command(sasgate, playerid, params[]) { if(PlayerVariables[playerid][pGroup] == 5) { MoveObjectobjectname, -411.60000610352, 1362, 14.800000190735, 1); } else { SendClientMessage(playerid, COLOR_RED, "You are not a part of the S.A.S!"); } return 1; }