// BAUFIRMA SA - SCRIPT BY MELDARIEL - FOR SNOOP // INCLUDE #include // NEW new snoop_door; public OnGameModeInit() { // --- [SNOOP] --- snoop_door = CreateObject(969, 414.709930, -1252.187988, 50.704796, 0.0000, 0.0000, 22.5000); CreateObject(989, 429.598389, -1246.768555, 51.660320, 0.0000, 0.0000, 123.7499); CreateObject(8572, 423.406097, -1260.318237, 52.806107, 0.0000, 0.0000, 292.5000); CreateObject(996, 437.787140, -1266.526245, 51.329697, 0.0000, 0.0000, 202.5000); CreateObject(996, 429.774872, -1269.793701, 51.329697, 0.0000, 0.0000, 202.5000); CreateObject(996, 417.532379, -1259.583252, 51.329727, 0.0000, 0.0000, 112.5001); CreateObject(996, 420.939240, -1267.902222, 51.329697, 0.0000, 0.0000, 112.5001); CreateObject(997, 421.554871, -1269.167114, 50.681259, 0.0000, 0.0000, 292.5000); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/opendoor", cmdtext, true, 10) == 0) { MoveObject(snoop_door,969.420.902466, -1249.834473, 50.378826, 2); return 1; } if (strcmp(cmdtext, "/closedoor", true)==0) { MoveObject(snoop_door,414.709930, -1252.187988, 50.704796,2); return 1; } return 0; } // COPY = MELDARIEL