13.09.2011, 20:58
i want to make gate with automacit closee gate please help
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/Open", cmdtext, true, 10) == 0) { MoveObject(gate, 831.0235, -1888.9404, 5.9893, 7); return 1; } if (strcmp("/ohouse", cmdtext, true,10) == 0) { SetPlayerPos(playerid,837.1106, -1875.3643, 13.4764); return 1; } if (strcmp("/close", cmdtext, true, 10) == 0) { MoveObject(gate,831.0235, -1888.9404, 10.8938,7); return 1; } return 0; }