22.10.2012, 16:42
Код:
if (strcmp("/opg", cmdtext, true, 10) == 0) { MoveObject(gate1, -1620.30004883,752.29998779,-6.19999981, 2); SendClientMessage(playerid, COLOR_GREEN, "Police Base Gate Is Opened! "); SetTimer("GateClose", 4000, false); } if (strcmp("/cpg", cmdtext, true, 10) == 0) { MoveObject(gate1,-1620.00000000,743.09997559,-6.19999981,2); SendClientMessage(playerid, COLOR_GREEN, "Police Base Gate Is Closed!"); return 1; }