10.09.2008, 07:05
Quote:
Originally Posted by Manny_rivera
Well this is the way I make my gates, you can see the similarities:
Код:
new LSPDGATE1; Код:
LSPDGATE1 = CreateObject(980, 1549.747925, -1628.123291, 15.156204, 0.0000, 0.0000, 270.0000); Код:
if(strcmp(cmdtext, "/LSPD1CLOSE", true)==0) { if(gTeam[playerid] == 2 || IsACop(playerid)) { MoveObject (LSPDGATE1,1549.747925, -1628.123291, 15.156204, 1.692236); } else { SendClientMessage(playerid, COLOR_GRAD2, " You are not a Cop / FBI / Task Force"); } return 1; } if(strcmp(cmdtext, "/LSPD1OPEN", true)==0) { if(gTeam[playerid] == 2 || IsACop(playerid)) { MoveObject (LSPDGATE1,1549.747925, -1628.123291, 15.156204, 1.692236); } else { SendClientMessage(playerid, COLOR_GRAD2, " You are not a Cop / FBI / Task Force"); } return 1; } Quote:
|